当前位置:Gxlcms > 数据库问题 > 给数据库用户付权

给数据库用户付权

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

给来自10.163.225.87的用户joe分配可对数据库vtdc的employee表进行select,insert,update,delete,create,drop等操作的权限,并设定口令为123。

mysql>grant all privileges on vtdc.* to joe@10.163.225.87 identified by ‘123′;
给来自10.163.225.87的用户joe分配可对数据库vtdc所有表进行所有操作的权限,并设定口令为123。

mysql>grant all privileges on *.* to joe@10.163.225.87 identified by ‘123′;
给来自10.163.225.87的用户joe分配可对所有数据库的所有表进行所有操作的权限,并设定口令为123

给数据库用户付权

标签:设定   ide   create   select   let   grant   权限   creat   ges   

人气教程排行