msg: unable to connect to database, check login_user and login_password are correct or ~/.my.cnf has the credentials
However, I am able to ssh into my server and login into mysql as root ( via the /home/myuser/.my.cnf ) without any problems. It seems like ansible is failing to read the correct location of the .my.cnf file
Achievements
9
Karma
0
Total ProTip Views
Charity
Fork and commit to someone's open source project in need
This does not seem to work when the destination for the .my.cnf file is in user's home dir
This returns the error:
However, I am able to ssh into my server and login into mysql as root ( via the /home/myuser/.my.cnf ) without any problems. It seems like ansible is failing to read the correct location of the .my.cnf file