当前位置:操作系统 > Unix/Linux >>

linux创建权限数据库用户

linux创建权限数据库用户
 
grant all on datebase.* to "user"@"host" Identified by "passwd";

 

 
host 一般为localhost,127.0.0.1 ...等等
 
增加全部数据库 
 
全部权限:
 
 grant all privileges on *.* to "user"@"127.0.0.1" Identified by "passwd";

 

 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,