phpMyAdmin – Error Incorrect format parameter

I got this error while importing a 150MB database to MariaDb/MySQL from phpMyAdmin.

phpMyAdmin – Error

Incorrect format parameter

This is a generic error. We may not understand in first shot. This was related to the upload limits specified in php.ini used by Apache. the upload max file size was set at 2 MB and post max size was set at 8 MB by default. My database is above this. So I changed the following parameters in php.ini.

sudo vi /etc/php/7.4/apache2/php.ini

Find the replace the values for the following parameters

upload_max_filesize=200M
post_max_size=200M

Restart apache service.

sudo service apache2 restart

The error will be resolved by now.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top