MySQL创建用户(包括密码)时,会提示ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal number: 问题原因:你输入的密码是明文.不允许这么输入. 解决办法:用select password('你想输入的密码');查询出你的密码对应的字符串, 然后用这个字符串在创建用户命令中替换你的密码.
MySQL 设置root密码报错:mysqladmin: connect to server at 'localhost' failed 1.安装完MySQL设置root密码报错如下 [root@vm172--- data]# mysqladmin -uroot password "linux@123" mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'l
1.用帐号登录mysql mysql –u root 或#mysql –uroot –p 2.改变用户数据库 命令:mysql>use mysql mysql> use mysqlReading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -A Database changed 3.修改密码 密码要用pa