mysql8允许远程连接的坑

其实也没啥坑,
ALTER USER ‘root’@’%’ IDENTIFIED WITH mysql_native_password BY ‘netwin123$%^’;
GRANT ALL ON . TO ‘root’@’%’;
flush privileges;

你可能感兴趣的:(java)