When we work with databaseThe most to reach us is phpMyAdmin, We provide management 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 the database, we can remove or import databases maintained.
In standard configuration (default) function "Import"In phpMyAdminDoes not allow us to do upload in MySQL the files larger than 2MB (2,048 KiB). If we import a database of more than 2 MB, then comes error: "You probably tried to upload too large file. Please referer to documentation for ways to workaround this limit. "
A solution would to compress the database (the. Sql) in one of the formats gzip, bzip2 or zipHowever, if the database file is very large, then certainly no compression to get a file not under 2MB which can be quite important in phpMyAdmin. The only solution is to change the size limit allowed for upload.
Change Upload / Import Size Limit in phpMyAdmin
Depending on the system used, php. Machines can be located in "/ etc / php.ini", "/ etc / php5 / apache2 / php.ini" or a different location on Web server. The easiest is to locate him we login to the server (via SSH) And give the command line "locate php.ini. "After locating the php.ini file, go to edit it.
nano / etc / php.ini
In php.ini file search and edit these lines:
max_execution_time = 60 , Maximum execution time of each script, in seconds (Dead 30)
max_input_time = 90 , Maximum amount of time each script may spend parsing request date (Dead 60)
memory_limit = 128M , Maximum amount of memory a script may consume (Dead 128mb)
upload_max_filesize = 200M , Maximum allowed size for uploaded files. (Dead 2mb)
post_max_size = 180M , Maximum size of POST data PHP That Will accept.
In our case we set the maximum size of the file to be imported is not more than 180MB. That means you can import via phpMyAdmin database to 180MB.
In Pound your needs change the execution time and memory limit being used. If the time set in php.ini are small and very large file is imported, it is possible to give error "time out"Import. For this you will need to change"max_input_time"And"max_execution_time. "This is true for memory limit that must be enhanced if large database. After you make changes using the editor" nano ", press Ctrl + X then "Y"(Yes) and Enter to save the changes.
The last step is to restart Apache Web Server.
service httpd restart
/ Etc / init.d / httpd restart
After restart of Apache you can start the import file database.
Stealth Settings - Change Import Size Limit in phpMyAdmin.Refresh & Reset PC, two new features of Windows 8 »»
Old: «« How to edit a document template with Header and Footer in Microsoft Word 2003
IT Tips - Windows, Mac OS X, Linux & Mobile - Import large databases (. SQL) changing the upload size limit (2048 KiB) in phpMyAdmin.
Users who found this tutorials and downloads Were searching for:
- Tamano cambiar the base of phpMyAdmin datos en linea servidor
- Importing base of datos MySQL mayor of 400mb
- banco 2mb em mais the phpmyadmin
- Cara menambah space sql database
- Limit quitar como en WAMP
- php mysql summers boyuyu
- phpMyAdmin KiB と は
- Tamano cambiar import Archivo xampp
- aumentar upload a tamanho no wampserver
- php.ini import linux
- ubah carry batas upload phpmyadmin
- Nahr sql android
- 2048 cambiar datos
- rubah upload sql ukuran
- PQ um banco para nao consigo importing a WAMP
- and dice que en phpMyAdmin me ExportAR intention grande que puedo a demasiado Archivo hacer
- two train sql file mac thay the nao
- Tamano base Maximo one of datos en android mysql
- phpMyAdmin ア ッ プ ロ ー ド サ イ ズ
- batas upload sql