Skip to content

Commit 24de182

Browse files
authored
Merge pull request geerlingguy#166 from jeroenvdgulik/master
Added a gotcha note to the README when trying to login from the CLI
2 parents b719b77 + 4a72cbc commit 24de182

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ Whether to force update the MySQL root user's password. By default, this role wi
3535

3636
> Note: If you get an error like `ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)` after a failed or interrupted playbook run, this usually means the root password wasn't originally updated to begin with. Try either removing the `.my.cnf` file inside the configured `mysql_user_home` or updating it and setting `password=''` (the insecure default password). Run the playbook again, with `mysql_root_password_update` set to `yes`, and the setup should complete.
3737
38+
> Note: If you get an error like `ERROR 1698 (28000): Access denied for user 'root'@'localhost' (using password: YES)` when trying to log in from the CLI you might need to run as root or sudoer.
39+
3840
mysql_enabled_on_startup: yes
3941

4042
Whether MySQL should be enabled on startup.

0 commit comments

Comments
 (0)