建议参阅一下MySQL的权限管理机制,只需创建本地连接的数据库用户就成了!
在MySQL客户端,运行:grant all on *.* to db_user@localhost identified by "password";
flush privileges;请根据你的情况修改db_user及password!
在MySQL客户端,运行:grant all on *.* to db_user@localhost identified by "password";
flush privileges;请根据你的情况修改db_user及password!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货