sql - Timeout error 110 when trying to import mysql dump on VPS -



sql - Timeout error 110 when trying to import mysql dump on VPS -

i bought vps server, pretty low now(2ghz cpu, 2gb ram, centos 6 32bit), because it's trial , think might causing issue. anyway, i'm trying import magento backup, 300mb file. tried using normal comand , source. can see in processlist , in phpmyadmin it's working, interrupts after adding 130 400 tables , have error:

query ok, 0 rows affected (0.00 sec) query ok, 0 rows affected (0.00 sec) error 2003 (hy000): can't connect mysql server on 'sp' (110) no connection. trying reconnect...

also checked mysql log file, nil in there

///////////////// problem solved

ok, tried uploading old backup , works, file corupted when replaced few tables in notepad++.

phpmyadmin recommended big dumps. can utilize mysql command line import again:

login vps upload dump file somewhere in vps. example, let's assume upload dump @ /var/dump.sql login mysql - can $ mysql -uroot -p. if press enter, inquire password. please come in password root user (defined when installed mysql server). have in vps command line. select database, $ utilize <your-db-name> run sql dump, $ source /var/dump.sql

*the $ sign command examples above denotes command prompt (remove own commands).

mysql sql magento import

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -