Dont use mysqldump to import. Use mysql. I can't remember the exact
syntax, but reference mysql.com for mysqldump, then in the syntax example
for that, they show you how to import it.
Ryan Shrout
Production Manager
Amdmb.com
http://www.amdmb.com/
[EMAIL PROTECTED]
(859) 653-3341
----- Original Message -----
From: "Rachel-MY" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 01, 2001 10:38 PM
Subject: Problem with mysqldump....
Hi everyone,
I'm trying to backup all the databases from Server_A to Server_B.
I'd issue "mysqldump" command in server_A to backup every single database,
as below :-
> mysqldump -uusername -ppassword databases_name > file_name
In server_B, i create a new database using the command below :-
> mysqladmin -uusername -ppassword create database_name
Then... i issued another "mysqldump" command to put everything back to
server_B, as below:-
> mysqldump -uusername -ppassword databases_name < file_name
Problem happened where the databases being backup are all empty!! No tables
being copied!!
Anyone have idea on this?
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php