GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

password no longer read from ~/.my.cnf

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • password no longer read from ~/.my.cnf

    since
    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;mysq l_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.

  • #2
    I am testing it with 2.1.3 and it works for me:


    root@ubuntu:~# cat .my.cnf


    [client]


    user=root


    password=test

    Try to create the .my.cnf again from scratch, sometimes hidden characters can cause these kind of problems.

    Comment

    Working...
    X