Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL 5.0 copy of DB binary files

Status
Not open for further replies.

stevehart

Technical User
May 14, 2007
1
NZ
Hi
I'm using MyDQL 5.0 with Administrator 1.2.11 on an XP OS. I'm attempting to copy a database by simply copying the data directory and binary files, and then renaming it. MySQL Admin can see the new database and I can connect to it via ODBC. While the MySQL Admin catalog for this DB lists all the tables, it displays an error that all the tables do not exist. Any ideas/help appreciated -:)
 
When moving the "files", I've found that you need to stop and restart mysql. Next time, I'd use mysqldump or mysqlhotcopy (linux).

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top