mysql-终端链接mysql报错
报错信息如下:
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
解决方案如下:
alter user 'root'@'localhost' identified by '新密码';
返回信息如下代表成功:
Query OK, 0 rows affected (0.00 sec)
报错信息如下:
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
解决方案如下:
alter user 'root'@'localhost' identified by '新密码';
返回信息如下代表成功:
Query OK, 0 rows affected (0.00 sec)