mysql局域网无法通过ip连接
mysql5:
grant all privileges on *.* to root@"%" identified by "."; GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION; flush privileges;
mysql8:
CREATE USER root@'%' IDENTIFIED BY 'root'; GRANT ALL PRIVILEGES ON *.* TO root@'%' WITH GRANT OPTION; FLUSH PRIVILEGES;

                
            
        
浙公网安备 33010602011771号