Mysql - How import xMB file in phpmyadmin, How to import huge Database in Mysql
How import xMB file in phpmyadminImporting the SQL file:
If you have a Unix/Linux server and have SSH access to it then you can use the 'mysql' command line program to import the file like so:
mysql -u myuser -p mydatabase < myfile.sql
This will prompt you for the password for 'myuser' and then import the SQL from myfile.sql. Obviously you will need to have uploaded myfile.sql through FTP or similar. Ideally you would compress myfile.sql, upload it, uncompress it and then import using the command above.
Increasing the maximum file size phpMyAdmin
If the limitation you are running into is a limit on the size of file uploads on your system, you may be able to increase this limit. By default it's usually 2M or 8M. To increase it you need to change PHP settings. You can change these settings either system-wide (if you have permission) or locally. The settings to change (with their typical defaults are):
post_max_size = 8M upload_max_filesize = 2M
You must ensure that post_max_size is the same or larger than upload_max_filesize. These settings can be changed globally by changing them in your php.ini file (its location varies depending on your system). After changing the settings, remember to restart your web server.
You may be able to change these settings locally if you're using Apache by putting a ".htaccess" file in phpMyAdmin's directory. The contents of the file should be:
php_value post_max_size 20M php_value upload_max_filesize 20M
The topic on Mysql - How import xMB file in phpmyadmin is posted by - Math
Hope you have enjoyed, Mysql - How import xMB file in phpmyadminThanks for your time