相关推荐recommended
mysql允许root用户远程连接
作者:mmseoamin日期:2024-02-18

1:登录mysql 

mysql -u root -p

2:修改root用户

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '[password]' WITH GRANT OPTION;