Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-docker mysql setup initial password #22

Open
arterialplan opened this issue Sep 15, 2021 · 0 comments
Open

non-docker mysql setup initial password #22

arterialplan opened this issue Sep 15, 2021 · 0 comments

Comments

@arterialplan
Copy link

This is for dw-v7 branch
The ansible scripts as they are set install mysql with temporary instead of blank passwords, the task "Update mysql root password for localhost" does not cater for this. I got around it by doing

grep temporary /var/log/mysql*
mysql --socket /var/run/mysqld/mysql-stats.sock --password <temp stats root password>
ALTER USER 'root'@'localhost' identified by 'xxx';
exit
mysql --socket /var/run/mysqld/mysql-stroom.sock --password <temp stroom root password>
ALTER USER 'root'@'localhost' identified by 'xxx';
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant