Forum Moderators: phranque
I am tryng to deliver an entire mysql database from one server to another, both servers are local. I am issuing the following command.
mysqldump -uUSERNAME -pPASSWORD1 dATABASENAME ¦ gzip ¦ ssh root@192.168.1.2 "gunzip ¦ mysql -uUSERNAME -pPASSWORD2 DATABASENAME"
The database is about 1.5 gig, it runs for about 10 mins before giving the error message
"mysql has gone away"
If I access the db through phpmyadmin I can see that is has moved some of the tables, data etc over.
Any ideas,
Mack.