View Single Post
  #1  
Old 03-27-2007, 05:29 AM
Qlance Qlance is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Qlance is on a distinguished road
Default restoring a sql dump?

Hello people,
I am using Mysql Administrator to restore a sql dump created on an offline linux server on to a Web Hosting company Mysql server. I am finding difficulty getting a dump file syntax that would not fall over but the following command seems to produce a backup file that should work - 'mysqldump --opt ourdbasename -uroot > backup.sql'.
Trying Mysql Administrator, I found that it would not work at all unless I used the Latin1 character set. The dump file is relatively small about 4mb. What happens every time is that it starts to load but after getting through about 1200000 bytes, falls over with the following message 'MySQL Error Nr.2013-Lost connection to MySQL server during query'. I tried to recreate the dump but it always falls over. Any advice you can offer?
Thanks. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - restoring a sql dump?
View Single Post
  #1  
Old 03-27-2007, 05:29 AM
Qlance Qlance is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Qlance is on a distinguished road
Default restoring a sql dump?

Hello people,
I am using Mysql Administrator to restore a sql dump created on an offline linux server on to a Web Hosting company Mysql server. I am finding difficulty getting a dump file syntax that would not fall over but the following command seems to produce a backup file that should work - 'mysqldump --opt ourdbasename -uroot > backup.sql'.
Trying Mysql Administrator, I found that it would not work at all unless I used the Latin1 character set. The dump file is relatively small about 4mb. What happens every time is that it starts to load but after getting through about 1200000 bytes, falls over with the following message 'MySQL Error Nr.2013-Lost connection to MySQL server during query'. I tried to recreate the dump but it always falls over. Any advice you can offer?
Thanks. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote