ysx24 发表于 2024-7-24 01:28:55

解决mysql 数据库内网访问题

进入mysql环境中,依次执行:
1.mysql -uroot -p
2.Enter password:
3.grant all privileges on *.* to hyabc@"%" identified by 'hy123456' with grant option;
4.flush privileges;
5.exit
hyabc:用户名   hy123456:密码
页: [1]
查看完整版本: 解决mysql 数据库内网访问题