-> select host, user, authentication_string, plugin from user;
#将user值为root的host值改为%,表示允许所有ip连接到此数据库,再将plugin值改为mysql_native_password,最后赋予权限
mysql-> GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘WITH GRANT OPTION;
关于用navicat远程连接mysql8数据库
标签:The root sel 连接mysql mysql8 string sele str roo