If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Problem while restoring Backup files

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-09, 03:49
xyzt xyzt is offline
Registered User
 
Join Date: Feb 2009
Posts: 3
Problem while restoring Backup files

Hello,

I try to restore the backup of my db (nearly 22 MB) using MySQL Admin 1.2.16 but I get error saying: "The server has returned this error message:MySQL server has gone away
MySQL Error."
The statement that causes error is an INSERT statement of a BLOB field with size 615264 bytes.
I both tried restoring with the command line but it gives the same error.
As I search internet about this error, some people get this error but they talk about GBs. My db is just 22MB, but I get the same error.

Any suggestions, please?
Reply With Quote
  #2 (permalink)  
Old 02-17-09, 04:01
ankur02018 ankur02018 is offline
Registered User
 
Join Date: Jun 2007
Posts: 189
Smile

Quote:
Originally Posted by xyzt
Hello,

I try to restore the backup of my db (nearly 22 MB) using MySQL Admin 1.2.16 but I get error saying: "The server has returned this error message:MySQL server has gone away
MySQL Error."
The statement that causes error is an INSERT statement of a BLOB field with size 615264 bytes.
I both tried restoring with the command line but it gives the same error.
As I search internet about this error, some people get this error but they talk about GBs. My db is just 22MB, but I get the same error.

Any suggestions, please?
Have you check the space on server

just check df -h
Reply With Quote
  #3 (permalink)  
Old 02-17-09, 04:02
xyzt xyzt is offline
Registered User
 
Join Date: Feb 2009
Posts: 3
Sorry I forgot to specify, the server is Windows 2003 Server and there's 34GB free space. My backup file is just 22MB.
Reply With Quote
  #4 (permalink)  
Old 02-17-09, 05:34
ankur02018 ankur02018 is offline
Registered User
 
Join Date: Jun 2007
Posts: 189
Smile

you can use

mysql -u (user name) -p(password) database name <test.sql

or

mysql -u user -p(password)

>source test.sql;
Reply With Quote
  #5 (permalink)  
Old 02-17-09, 07:23
xyzt xyzt is offline
Registered User
 
Join Date: Feb 2009
Posts: 3
Quote:
Originally Posted by ankur02018
you can use

mysql -u (user name) -p(password) database name <test.sql

or

mysql -u user -p(password)

>source test.sql;
I get the same error:
"MySQL server has gone away"
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On