salt-formulas / salt-formula-galera

Other
8 stars 21 forks source link

solve problem "Access denied for user 'root'@'localhost' " #34

Closed cyplenochek closed 7 years ago

cyplenochek commented 7 years ago

I saw, that when I run galera state it fails as it run /usr/share/salt-formulas/env/galera/files/init_bootstrap.sh, this script try to connect to mysql by root without password. I propose to have options - without password (OK for initial run galera state), with password (to perform updates)

epcim commented 7 years ago

no idea why it's failing as of now, started tests again otherwise ok, expecting metadata user/password are always available (pls check)

I would like to do another thing, render /root/.my.cnf (with credentials), so from CLI no password is actually required. The password will be in cleartext on other places anyway.