twitter-forks / mysql

MySQL fork maintained and used at Twitter
https://github.com/twitter/mysql/wiki
GNU General Public License v2.0
1.73k stars 442 forks source link

[2019-02-24T17:48:02+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 9 (KILL) #10

Open sandeepiii opened 5 years ago

sandeepiii commented 5 years ago

Hi Expert Iam using simple command to change root password after MySql installation ,But getting the Above error (signal 9 kill)

script "change password" do interpreter "bash" user "root" cwd "/tmp" code <<-EOH

MYSQL

root_temp_pass=$(grep 'A temporary password' /mysql/log/mysqld.log |tail -1 |awk '{split($0,a,": "); print a[2]}')

Login as root change password

mysql -uroot -p"$root_temp_pass" -Be "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Czt732ck#';" --connect-expired-password EOH end

sandeepiii commented 5 years ago

Inspite of the above signal kill command , the password change happened i logged in using new password.But why this error is coming is very confusing.