Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exporting a database in phpmyadmin fails (localhost)

When I try to export a database sql file in phpmyadmin it fails. I get the following error: "Your output is incomplete, due to a low execution time limit on PHP level" .

I don't know what to do..

like image 581
Furkan Gocurucu Avatar asked Mar 13 '16 21:03

Furkan Gocurucu


People also ask

Is phpMyAdmin a localhost?

http://localhost:80/phpmyadmin. http://localhost:8080/phpmyadmin. phpMyAdmin is a free and open source administration tool for MySQL and MariaDB. As a portable web application written primarily in PHP, it has become one of the most popular MySQL administration tools, especially for web hosting services.


2 Answers

I experienced the exact problem already. According to comments (windows, wamp, mysql), here is a solution to get an export of your database/table(s):

Open CMD and paste this:

cd C:\wamp\bin\mysql\mysql15.5.8\bin

If your windows is installed into C drive, Then apply your own information in this line and paste it too:

mysqldump -u username -p databasename > filename.sql

Note: username is root by default.


Also you can determine a particular table like following:

mysqldump -u username -p databasename tablename1 tablename2 > filename.sql

Here is an example:

  1. Open CMD
  2. write cd C:\wamp\bin\mysql\mysql15.5.8\bin
  3. Then write mysqldump -u root -p univercity students > H://TheNameOfStudents.sql
like image 144
Shafizadeh Avatar answered Sep 21 '22 13:09

Shafizadeh


PhpMyAdmin is a php application. (I should change my username to Obviousman.)

It's running out of time exporting your table.

You need to change a line in the file called php.ini.

If you're running WAMP on your own Windows box, you might find it at a path like C:\wamp\bin\apache\apache2.4.9\bin. But you have to look for it.

If you're using a hosting service, use their knowledge base or call their support and ask how to change php.ini.

look for the line called max_execution_time, and make its value bigger.

like image 21
O. Jones Avatar answered Sep 22 '22 13:09

O. Jones