How can I increase mysql capacity in phpmyadmin?

Source: Internet
Author: User
Urgent ---- how to increase mysql capacity in phpmyadmin? This error is displayed when you import a table to mysql. fatal & nbsp; error: & nbsp; Allowed & nbsp; memory & nbsp; size & nbsp; of & nbsp; 13421 urgent ---- how to increase mysql capacity in phpmyadmin?
This error is displayed when you import a table to mysql.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 41 bytes) in C: \ Program Files (x86) \ EasyPHP-12.1 \ modules \ phpmyadmin3522x121010173154 \ libraries \ sqlparser. lib. php on line 62


How can we expand it? Thank you.
------ Solution --------------------
Import the SQL statements in the file into the database from D: \ MySQL \ mydb2. SQL:

1. enter MySQL from the command line, and then run the create database mydb2 command to CREATE the DATABASE mydb2.

2. to exit MySQL, enter the command exit or quit;

3. enter the following command in CMD:

C: \> MySQL-h localhost-u root-p mydb2 <D: \ MySQL \ mydb2. SQL

It is relatively simple to modify the file upload limit size.

Memory_limit = 128 M, upload_max_filesize = 2 M, post_max_size = 8 M

Modify upload _
2 MB by default to what you need
------ Solution --------------------
Run the following command line:
Use db;
Source/data/tt. SQL; // note that the tt. SQL path must be correct.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.