当前位置: 代码迷 >> 综合 >> 远程连接mysql 数据库授权
  详细解决方案

远程连接mysql 数据库授权

热度:66   发布时间:2023-09-18 19:35:45.0

grant [权限] on [数据库名].[表名] to ['用户名']@['web服务器的ip地址'] identified by ['密码']

grant all on *.* to 'root'@'%' identified by 'root';

grant all on *.* to 'root'@'192.168.1.1' identified by 'root';

  相关解决方案