需要授权数据库操作
grant all on xxx.* to ‘root’@’%’ identified by ‘password’ with grant option;
其中:xxx代表创建的数据库; password为用户密码,在此为root的密码。
本文介绍如何通过SQL命令授权用户对特定数据库进行操作, 包括设置用户名、密码及权限等。
需要授权数据库操作
grant all on xxx.* to ‘root’@’%’ identified by ‘password’ with grant option;
其中:xxx代表创建的数据库; password为用户密码,在此为root的密码。
111万+
4393
5747
1113
1万+
1357

被折叠的 条评论
为什么被折叠?