I'm having a problem with the mysqlhotcopy script.
Code:
$ /usr/bin/mysqlhotcopy --user=root --password=pass --socket=/path/to/mysqld.sock db1 /root/backups/db-backup/
Locked 59 tables in 0 seconds.
Flushed tables (<insert a bunch of my tables here>) in 0 seconds.
Copying 178 files...
Copying indices for 0 files...
Unlocked tables.
mysqlhotcopy copied 59 tables (178 files) in 0 seconds (0 seconds overall).
However, nothing exists in the /root/backups/db-backup/db1/ dir at all :-\
It seems that mysqlhotcopy is failing to copy the files over out of /var/lib/mysql/db1/ ?
Has anyone else ever had this problem?
Thanks for your time.