2006年5月9日 星期二

MySQL 使用者授權管理

建立使用者

INSERT INTO user (Host,User,Password) VALUES('localhost','pss','pss');

授權資料庫
GRANT ALL PRIVILEGES ON db.* TO david@'192.58.197.0/255.255.255.0';
一定要用 flush privileges

2 則留言:

  1. Looks nice! Awesome content. Good job guys.
    »

    回覆刪除
  2. Greets to the webmaster of this wonderful site. Keep working. Thank you.
    »

    回覆刪除