How to increase the capacity of MySQL in urgent phpmyadmin?

Source: Internet
Author: User
This error is displayed when importing a table to MySQL.

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

How do we expand it? Thank you.

Reply to discussion (solution)

DOS command line execution

DOS command line execution

How to execute Ah, I installed is easyphp only ah ...

Import the SQL statements from the file into the database from D:\MySQL\mydb2.sql:

1. Go to MySQL from the command line and create database mydb2 with the command; mydb2.

2. Exit MySQL to 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's easier to modify the file upload limit size


Modify Upload_
Default 2MB change to the one you need

Under command line execution:
Use DB;
Source/data/tt.sql; Note that the Tt.sql path should be correct

That's how it turns out.

  • Related Article

    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: 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.