在Linux中安装好mysql之后会要求重新设置密码:
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
这个时候执行下面语句就可以解决:
alter user 'root'@'localhost' identified by '20160805';
在Linux中安装好mysql之后会要求重新设置密码:
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
这个时候执行下面语句就可以解决:
alter user 'root'@'localhost' identified by '20160805';