Data Backup and Recovery

snapcreator 3.3 and mysql

jmberoud
5,506 Views

Hello,

I'm trying to use snapcreator 3.3 with mysql. But this doesn't work.

# ./snapcreator --profile mysql --action snap --policy hourly --config test --verbose --debug
....
########## Application quiesce ##########
[Wed Feb  9 23:02:39 2011] INFO: Quiescing databases
[Wed Feb  9 23:02:39 2011] INFO: Quiescing database demo
[Wed Feb  9 23:02:39 2011] DEBUG: Connection to demo successfully established
[Wed Feb  9 23:02:39 2011] DEBUG: Executing sql command 'flush tables with read lock' for database demo
[Wed Feb  9 23:02:39 2011] ERROR: #08S01Bad handshake
[Wed Feb  9 23:02:39 2011] ERROR: Application quiesce for plugin mysql failed with exit code 1, Exiting!
########## Application unquiesce ##########
[Wed Feb  9 23:02:39 2011] ERROR: send: Cannot determine peer address at /</var/tmp/scServer3.3.0/snapcreator>Net/MySQL.pm line 100
[Wed Feb  9 23:02:39 2011] ERROR: Application unquiesce for plugin mysql failed with exit code 1, Exiting!
########## PRE EXIT COMMANDS ##########
[Wed Feb  9 23:02:39 2011] INFO: No commands defined
########## PRE EXIT COMMANDS FINISHED SUCCESSFULLY ##########
[Wed Feb  9 23:02:39 2011] DEBUG: Exiting with error code - 2

I can confirm that this works:

mysql -h 127.0.0.1 -P 3306 -u root -p demo

I've attached the config file. Any ideas?

Greets Jean-Marc

14 REPLIES 14
Public