Is it possible for the master (5.1) to have innodb_file_per_table = 0 and for the slave (5.1 or 5.5) to have innodb_file_per_table = 1 ?
Asked
Active
Viewed 328 times
2
1 Answers
2
Yes you can use innodb_file_per_table = 1 for your slaves.
Additionally take below points in your consideration
If you have same version on MySQL on both Master and Slave. You can directly take backup and setup replication from Master to Slave by adding
innodb_file_per_table = 1on slave inmy.cnfPlease have a look at How to set Master Slave replication
If you have different version of MySQL , Please make sure that you are taking backup properly because different version would have mismatches in System tables (MySQL Database).
Please have a look answer by
@RolandoMySQLDBAfor How to take backup properly
Abdul Manaf
- 9,677
- 16
- 71
- 84
-
-
@sivann : If you found it useful you can mark it as correct answer. – Abdul Manaf Jul 02 '15 at 06:37
-
Yes of course I will when replication starts; the DB is several TB and took a bit longer :-) – sivann Jul 04 '15 at 08:44
innodb_file_per_table = 1for your slaves. – Abdul Manaf Jul 01 '15 at 14:20