سؤال

If I copy mysql binary log files (/var/lib/mysql/mydb the .frm and .ibd files) from one mysql instance to another, will the databases be copied over correctly (assuming using the same mysql server version)?

هل كانت مفيدة؟

المحلول

You should use a utility to do this, something like MySQLDump. You way of copying the files will require manually correcting the conf files and possibly missing something.

look Here for Mysqldump

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top