» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2006, 04:36 AM
Kamch Kamch is offline
Junior Member
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Kamch is on a distinguished road
Default Error Nr.2013-Lost connection....

hello there,
I am looking to use Mysql Administrator to restore a sql dump created on an offline linux server on to a Web Hosting company Mysql server. I had trouble 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'
With Mysql Administrator, I found that it would not work at all unless I used the Latin1 character set. The dump file is about 4mb. It starts to load but after getting through 1200000 bytes, falls over with the following message 'MySQL Error Nr.2013-Lost connection to MySQL server during query'. -- 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
Revenue Sharing Ads ( ?):
  #2  
Old 10-30-2006, 04:38 AM
evy evy is offline
Senior Member
 
Join Date: Oct 2006
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 16
evy is on a distinguished road
Default

My suggestion will be to try and use the mysql command line utility to load the file:
mysql -h localhost -u root -p dbname < backup.sql
Enter password: ******** -- 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
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
connection over ssh tunnel??? Fabiola MySQL Forums 1 02-16-2007 08:29 AM
Hurricane Electric Upgrades Connection at PAIX outsourcingplans Web Hosting News 0 12-12-2006 03:54 AM
need a cheap and stable connection. Jammie Web Hosting Industry 1 08-08-2006 04:58 AM
reliable unmetered connection? Leonel Web Hosting Industry 1 08-05-2006 05:26 AM
server crashed, files lost, what to do rose23 Web Hosting Industry 3 06-26-2006 01:35 PM


All times are GMT. The time now is 05:36 AM.