mysql8 修改密码和navicat连接问题
mysql8 忘记密码后,实现无密码登录:
(cmd窗口1:先停止mysql服务,再执行此命令) mysqld --console --skip-grant-tables --shared-memory;
(另开cmd窗口2:)
mysql
use mysql;
update mysql.user set authentication_string=('') where user='root' and Host ='localhost';
flush privileges;
alter user 'root'@'localhost' IDENTIFIED BY '123456';
远程访问及navicat连接问题:
https://blog.csdn.net/mxskymx/article/details/88765072

浙公网安备 33010602011771号