Skip to main content

phpMyAdmin - Error Incorrect format parameter restoring sql database on phpAdmin using Mamp

 When I tried to restore a mysql database on phpAdmin, I got the following error:

phpMyAdmin - Error

Incorrect format parameter


after a small search found the following article

https://sitenetic.com/techie/mamp-error-phpmyadmin-error-incorrect-format-parameter/

The problem for me was that the database dump file was bigger than 32MB, and php was limited to 8/32 MB

The fast solution for me, on MAMP console, selected Languages>PHP> and Open the default template

There I changed the following parameter

post_max_size = 128M

and the following parameter

upload_max_filesize = 128M

MAMP offered to restart the servers, and I did, and then, I was able to restore my database!

Comments