第一種方法:
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
-> ON <dbname>.*
-> TO <username>@<host name>
-> IDENTIFIED BY '<password>';
where <dbname> is the name of the database you are tyring to
connect to, <username> is the username of the user trying to
connect to the database, <host name> the name of the host (in
your case the XXX host) and <password> the password of the user.
第二種方法:
通過客戶端軟件設置用戶的主機以及權限,


文章來源:
http://blog.163.com/ccbobo_cat/blog/static/32099462200952925050579
posted on 2009-06-29 14:51
C.B.K 閱讀(1572)
評論(0) 編輯 收藏