You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With db_initialized? false, and line 94 returns [0,1,2] set, it doesn't matter if MySQL is actually up. It will return a "valid" return code.
Next time it attempts to run and db_initialized? is true, it won't attempt to run. The existence of the file in db_initialzed? doesn't prove that a sql statement has been run or not. (Still noodling how to resolve that.)
π» Brief Description
Using
initial_root_password
in themysql_service
resource does not apply the password, it always uses the defaultπ₯ Cookbook version
11.1.6
π©βπ³ Chef-Infra Version
18.5.0
π© Platform details
CentOS Streaming 8 (but this appears to be an issue in multiple OSes)
Steps To Reproduce
mysql -S /var/run/mysql/mysql.sock
sudo mysql -p -S /var/run/mysql/mysqld.sock
sudo mysql -p -S /var/run/mysql/mysqld.sock
π Expected behavior
You should be able to connect with the expected/defined password from the recipe. The default resource password SHOULD NOT be used.
β Additional context
The text was updated successfully, but these errors were encountered: