zach-adams / hgv-deploy-full

This Ansible Playbook is designed to setup a Mercury-Like environment on a Production server without the configuration hassle.
102 stars 46 forks source link

Unable to connect to MySQL when adding new site #8

Closed ahansson89 closed 9 years ago

ahansson89 commented 9 years ago

I added one site already, now trying to add another, but I get this error:

TASK: [wordpress | Provision WP Database] ***** failed: [everyman.dk] => {"failed": true} msg: unable to connect, check login_user and login_password are correct, or alternatively check ~/.my.cnf contains credentials

Am I doing something wrong or what?

dhilditch commented 9 years ago

It's because you correctly ran the secure sql command - for additional installs you need to modify the my.cnf file and insert your password into that file

On 10 March 2015 at 22:57, ahansson89 notifications@github.com wrote:

I added one site already, now trying to add another, but I get this error:

TASK: [wordpress | Provision WP Database]


failed: [everyman.dk] => {"failed": true} msg: unable to connect, check login_user and login_password are correct, or alternatively check ~/.my.cnf contains credentials

Am I doing something wrong or what?

— Reply to this email directly or view it on GitHub https://github.com/zach-adams/hgv-deploy-full/issues/8.

Dave Hilditch Founder www.affiliatewebdesigners.com

Skype: davehilditch Landline: +44 131 208 1118 Mobile/Cell: +44 7961 552 082 Twitter: @davehilditch https://twitter.com/davehilditch

ahansson89 commented 9 years ago

I had a typo in my password.. lol :+1: