We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using initial_root_password in the mysql_service resource does not apply the password, it always uses the default
initial_root_password
mysql_service
11.1.6
18.5.0
CentOS Streaming 8 (but this appears to be an issue in multiple OSes)
mysql_service 'default' do port '3306' version '8.0' initial_root_password mysqlpass['password'] action [:create, :start] end
mysql -S /var/run/mysql/mysql.sock
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
sudo mysql -p -S /var/run/mysql/mysqld.sock
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
You should be able to connect with the expected/defined password from the recipe. The default resource password SHOULD NOT be used.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
π» 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: