Tutorials/How to move a database bigger 2MB

Import
Most hosting provider set the limit to the PHP upload function to 2MB which makes it not easy importing databases &gt; 2MB to your new installation if you use e.g. phpMyAdmin as your database management tool. For this cases, you might want to install another application that works differently like MySQL Dumper or use just the most easy way if you have SSH access to your server.


 * Upload the sql file to your server.
 * Move to the folder the sql file is situated.
 * Use the following command to insert the sql file to your database

Of course, you have to replace the values for [database_user] - your specific database user [database_password] - your spacific database password [Port] - the portnumber of your database in case it is different then 3306 [your_file] - your source database dump


 * Take care: No progress bar is shown while uploading the dump. For huge databases, just wait for the next prompt.

Export
For dumping your existing database > 2MB to a sql file, type the following: