mysql远程访问 root · 2022-03-23 · # 数据库 命令一: GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; 命令二: FLUSH PRIVILEGES;