kazuho
unread,Aug 5, 2009, 3:24:46 AM8/5/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Percona Dev
Hello,
Thank you for all your works. While I was evaluating xtrabacku, I
noticted that innobackupex seems fails when either of the options --
user, --port, or --socket is being set, since the options are appended
to the arguments passed to mysql client after "--". Here is the patch
to solve the problem.
--- /usr/bin/innobackupex-1.5.1.orig 2009-08-05 15:34:13.000000000
+0900
+++ /usr/bin/innobackupex-1.5.1 2009-08-05 16:11:38.000000000 +0900
@@ -992,8 +992,6 @@
# prepare options for mysql
if ($option_mysql_password) {
$options = "$options --password=$option_mysql_password";
- } else {
- $options = "$options --";
}
if ($option_mysql_user) {
$options = "$options --user=$option_mysql_user";
@@ -1004,6 +1002,7 @@
if ($option_mysql_socket) {
$options = "$options --socket=$option_mysql_socket";
}
+ $options = "$options --";
$options;
}