使用mysql - u root -p 登录mysql之后,使用show databases; 命令来查看数据库,但是报错
You must reset your password using ALTER USER statement before executing this statement.
原因可能是密码设置的不符合mysql的要求,使用set password=password("your new password");
设置新的密码即可。
使用mysql - u root -p 登录mysql之后,使用show databases; 命令来查看数据库,但是报错
You must reset your password using ALTER USER statement before executing this statement.
原因可能是密码设置的不符合mysql的要求,使用set password=password("your new password");
设置新的密码即可。