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 importing backup.sql file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-08-05, 04:48
demuynckr demuynckr is offline
Registered User
 
Join Date: Mar 2005
Posts: 1
Red face problem importing backup.sql file

I can't seem to import this .sql file.

I run mysql-4.1.10-win32, a fresh install.

this is how i worked:
mysql -uroot -ppassword
>create database dbtest;
>exit;

mysql -uroot -ppassword dbtest < c:\backup.sql

the .sql file is 605 MB but if i check the properties of the ../data/dbtest map its only 94,8kb. And then the dosprompt stays hanging but the db doesnt get any larger. If i press ctrl-C, sometimes i get errno 121 , but sometimes i don't.
The last time however -first time with this version- i got a different error when using ctrl-c to break of the command:ERROR 2013 (HY000) at line 2099:
lost connection to mysql server during query.
Others have used this backup.sql succesfully.
I tried it with different versions of mysql, i have tried with another instance of the database none of this worked.
I've lost some time on this problem any help would be appreciated.
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