mysql 增加新用户

增加user@% 用户
grant   all   on   *.*   to   "user"   IDENTIFIED   BY   "coolstr";

增加user@localhost用户
grant   all   on   *.*   to   user@localhost   IDENTIFIED   BY   "coolstr";
posted @ 2006-11-21 13:27  小强(占卜师)  阅读(190)  评论(0)    收藏  举报