upgrade from percona-xtrabackup 2.0.7-552.precise
to 2.1.2-611.precise (Ubuntu 12.04)
the user and password are no longer read from ~/.my.cnf
Now I get the following error:
ERROR: Failed to connect to MySQL server: DBI connect(’;mysql_read_default_file=/etc/mysql/multi-mysql.cnf;mysql_read_default_group=xtrabackup;mysql_socket=/var/run/mysqld/mysqld2.sock’,’’,…) failed: Access denied for user ‘root’@‘localhost’ (using password: NO) at /usr/bin/innobackupex line 1384
The user and password are defined in the [client] section. If I enter the --user and --password at the command-line it runs OK.