当前位置:Gxlcms > 数据库问题 > mysql相关配置

mysql相关配置

时间:2021-07-01 10:21:17 帮助过:3人阅读

 identified by "1234";

     //test用户对所有数据库都有select,delete,update,create,drop 权限。

  //@"%" 表示对所有非本地主机授权,不包括localhost。(localhost地址设为127.0.0.1,如果设为真实的本地地址,不知道是否可以,没有验证。)

//对localhost授权:加上一句grant all privileges on testDB.* to test@localhost identified by ‘1234‘;即可。

mysql相关配置

标签:

人气教程排行