无法连接虚拟机mysql,是没有授权远程连接数据库权限
授权命令:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root123' WITH GRANT OPTION;
别忘了刷新系统权限
flush privileges;
无法连接虚拟机mysql,是没有授权远程连接数据库权限
授权命令:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root123' WITH GRANT OPTION;
别忘了刷新系统权限
flush privileges;