Reputation: 35235
I read somewhere that it is, so I was wondering.
Upvotes: 1
Views: 236
Reputation: 7491
A slightly more detailed response at askers request.
Some details of the dangers of a straight file copy:
Advantages of using the documented methods:
Upvotes: 0
Reputation: 91049
It might or might not work, depending on the state of the data.
it should work if you stop the database completely and restart it again after the backup, but there you have a downtime.
Upvotes: 1
Reputation: 319
Don't do that, the .frm/.myd/.myi may be much larger than the actual data and may cause crash (data not consistence) or very hard to transfrom/recover.
Use mysqldump to transfer MySQL database.
Upvotes: 1