本文主要是介绍centOS下进入mysql报错-You must SET PASSWORD before executing this statement,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
解决办法:
mysql> SET PASSWORD = PASSWORD('123456');
Query OK, 0 rows affected (0.03 sec)
mysql> create database roger;
Query OK, 1 row affected (0.00 sec)
也就是用mysql> SET PASSWORD = PASSWORD('123456');这句话重新设置一次密码!
这篇关于centOS下进入mysql报错-You must SET PASSWORD before executing this statement的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!