mysqladmin -u root password

ERROR : Error appeared during Puppet run: 192.77.108.242_mysql.pp
Error: mysqladmin -u root  password 'f40e1dec1deb43d3' returned 1 instead of one of [0]


# rpm -qa | grep -i mysql
mysql-server-5.1.71-1.el6.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
mysql-5.1.71-1.el6.x86_64
mysql-libs-5.1.71-1.el6.x86_64
MySQL-python-1.2.3-0.3.c1.1.el6.x86_64

# rpm -e mysql-server-5.1.71-1.el6.x86_64
# rpm -e mysql-5.1.71-1.el6.x86_64

# rm -rf /var/lib/mysql

# packstack --allinone

转载于:https://www.cnblogs.com/smallcoderhujin/p/3772812.html

你可能感兴趣的:(mysqladmin -u root password)