When we work with DatabaseMost handy is us phpMyAdminThat ensure administration support bases given eprin web interface. from phpMyAdmin we can make any changes in a database to which we have access. We can add databases, create, delete and edit tables in databases, we can delete or import databases maintained.
In the standard configuration (default) function "Import"in phpMyAdminDoes not allow us to do upload in MySQL the files larger 2MB (2,048 KiB). If we have an important database of more than 2 MB, then comes the error: "You probably tried to upload too large file. Please referer to documentation for ways to workaround this limit. "
One solution would to compress the database (.sql file) in one of the formats gzip, bzip2 or zipBut if the file is very large database, then certainly not any compression under 2MB to get a file that can be imprtant by phpMyAdmin. The only solution is to change the allowed size limit for uploads.
Change Upload / Import Size Limit in phpMyAdmin
Depending on the system used, php.ini can be located in "/etc/php.ini" "/etc/php5/apache2/php.ini" or in another location on web server. The easiest to locate it is we login to the server (via SSH) And give the command line "locate php.ini". After you locate the file php.ini, move on to editing it.
Php.ini file search, and edit these lines:
max_execution_time = 60 ; Maximum execution time of each script, in seconds (def. 30)
max_input_time = 90 ; Maximum amount of time each script apr spend parsing request data (def. 60)
memory_limit = 128M ; Maximum amount of memory a script apr consume (def. 128mb)
upload_max_filesize = 200M ; Maximum allowed size for uploaded files. (Def. 2mb)
post_max_size = 180M ; Maximum size of POST date PHP That Will accept.
In our case we set the maximum size of the file to be imported is not less than 180MB. That means we can import via phpMyAdmin database to 180MB.
In Funt your needs change execution time and memory limit used. If the times set in php.ini are low and the imported file is very large, it may give the error "time out"Import. For it will have to change"max_input_time"And"max_execution_time. "This is true for memory limit, which should be increased in case of large databases. After you make changes, using the editor" nano ", press Ctrl + X then "Y"(Yes) and Enter to save the changes.
The last step is restarting Apache Web Server.
service httpd restart
After the restart of Apache you can start importing the file with the database.
Stealth Settings – Import Size Limit Change in phpMyAdmin.ads Refresh & Reset PC, two new features of Windows 8 »»
Old: «« How to edit a document Header and Footer Templates with Microsoft Word 2003
IT Tips - Windows, Mac OS X, Linux & Mobile - Import large databases (.sql) changing size upload limit (2048 KiB) of phpMyAdmin.
Users Who found this tutorials and downloads Were searching for:
- Firefox upload file max xNUMX kib
- batasan menambah cara upload file sql phpmyadmin
- Importing tentou provavelmente ficheiro demasiado um grande phpmyadmin
- waktu limit 2048 mb
- phpMyAdmin 해킹
- He kya phpMyAdmin
- cargar Fischer mysql ios
- Limit quitar como en WAMP
- batas upload sql
- mysql alteration tamanho Máximo give Importacao
- Archivos sql cambiaron and myswl
- XAMPP mysql boyutu
- лимит на импорт
- berapa batasan memori database untuk di XAMPP
- subir Archivos grandes phpmyadmin
- ポ ー ン ト phpmyadmin 2gb イ 以上
- phpmyadmin importieren maximum dateigröße
- subir no mysql Grande Blvd.
- Gambar ukuran besar upload script phpmysql
- phpmyadm 最長 2048KB