Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpmyadmin exports html not sql

Tags:

phpmyadmin

I have phpmyadmin 4.4.7 and have previously exported MySql tables fine into .sql format. However, it is now exporting in html format even though I select .sql format with either Quick or Advanced method.

Any thoughts/suggestions much appreciated.

Thank you.

Lyle

like image 591
user3522145 Avatar asked Sep 24 '15 20:09

user3522145


2 Answers

Phpmyadmin does not export properly when the database is very large (more than 300 tables in my case).

I added the following inside php.ini at the end of the "Resource Limits" section:

max_input_vars = 5000;

now it works. More info here.

like image 72
gabriel carvajal Avatar answered Oct 13 '22 12:10

gabriel carvajal


I had the same problem. You can create a view for the result, then export data from that view. It worked for me.

like image 23
Saman Mohamadi Avatar answered Oct 13 '22 12:10

Saman Mohamadi