==作者:YB-Chi== [toc] mysql8开启远程连接mysql8的sql与5不一致,授权如下: 123CREATE USER 'remoteuser'@'%' IDENTIFIED BY '123321';GRANT ALL PRIVILEGES ON *.* TO 'remoteuser'@'%' WITH GRANT OPTION; FLUSH PRIVILEGES;