My question is simple,
We have a file-per-table innodb (with some MyISAM tables) that total about 162GB.
Can I simply stop the mysql master server, copy all the contents of the datadir to the slave, start both DB's (nothing will be writing to these DB's during this time, so I guess locking the tables will not be needed) then setup the replication log coordinates, etc and start slave ?
will this work? mysqldump and restore will take too long.
TIA!
We have a file-per-table innodb (with some MyISAM tables) that total about 162GB.
Can I simply stop the mysql master server, copy all the contents of the datadir to the slave, start both DB's (nothing will be writing to these DB's during this time, so I guess locking the tables will not be needed) then setup the replication log coordinates, etc and start slave ?
will this work? mysqldump and restore will take too long.
TIA!