Hi guys! Help please. Say, I have 2 servers, one is my server that I used during my development and the other one is my client’s server. Say, I’m already done with my development and I want to copy the database from my server to my client’s server what is the best way to do this? I’ve already tried using the “mysqldump.exe” command from MySql Command Line and I was able to backup my database from my development server but when I try to restore it to my client’s server it gives me an error saying
Quote:
|
“ERROR 1049 (42000): Unknown database 'acr128demo”.
|
I know the error is obvious but im just wondering if I could restore a dabatase to a server even if the database does not exist. Any help guys? by the way this is how i backup my database
Quote:
|
mysqldump.exe --add-drop-database -u root -p MyDBName > c:\Filename.mysql
|
and restore it to my client's server
Quote:
|
mysql.exe -u root -p MyDBName < e:\Filename.mysql
|