MySQL Forums
Forum List  »  Newbie

Re: Restoring 500MB .sql file into the database...
Posted by: Umesh Shastry
Date: June 02, 2005 05:01AM

Hi!!

If you have shell access..then you can dump easily using mysql command line utility..

On Win (MySQL Server is running on same host)
C:\mysql\bin\>mysql -uuserName -ppassword databasename < yourdumpfilehere.sql

On Win (on MySQL Server is running remote host)
C:\mysql\bin\>mysql -hremotehostname -uuserName -ppassword databasename < yourdumpfilehere.sql

On *nix..(MySQL Server is running on same host)

#mysql -uuserName -ppassword databasename < yourdumpfilehere.sql

On *nix..(MySQL Server is running on remote host)

#mysql -hremotehostname -uuserName -ppassword databasename < yourdumpfilehere.sql



If still you want to split file & then want to dump then Check out this..


http://www.ozerov.de/bigdump.php

Regards,
Umesh Shastry
http://www.blogger.com/profile/02551756983528645221

Options: ReplyQuote


Subject
Written By
Posted
Re: Restoring 500MB .sql file into the database...
June 02, 2005 05:01AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.