By following http://dev.mysql.com/doc/refman/5.1/en/replication-howto-rawdata.html
I stuck when it ask me to shell> tar cf /tmp/db.tar ./data, where is ./data ?
|
By following http://dev.mysql.com/doc/refman/5.1/en/replication-howto-rawdata.html I stuck when it ask me to | |||
|
feedback
|
|
That is your MySQL data directory. Typical location is | |||
|
feedback
|
|
That would be wherever your datafiles are stored. Have a look in your
You will most likely have to modify the command slightly based on what you find. e.g. if your datadir is cd /var/lib/mysql tar cf /tmp/db.tar ./data where If you want to move everything then
| ||||
|
feedback
|