MysqlÀïÈçºÎ´´½¨Ò»¸öÐÂÓû§?
ÎÒÓÃgrant select,insert,update,delete,index
on addressbook.*
to bookor by identified by 'bookorama';
Äܹ»½¨Á¢Ò»¸öÓû§,¿ÉÊÇÓôËÓû§µÇ½µÄʱºòÓÃmysql -u bookor -p ÊäÈëÃÜÂëºóÌáʾÎÒÃÜÂë´íÎó,ÈçºÎ½â¾ö?
ÓÃÉÏÃæµÄ·½·¨½¨Á¢Óû§¶ÔÂð? ÏÂÒ»¸öphpMyAdminÀ´Ôö¼ÓºÍ¹ÜÀíÓû§¡£ Äã¿ÉÒÔÓãº
grant all privileges on *.* to user_name@localhost identified by'new_password' with grant option;
grant all privileges on *.* to user_name@ identified by'new_password' with grant option;
ÒÔÉÏÁ½¸öÔÚ´´½¨ÆÕͨÓû§Ê±ÓõÄÃüÁî¡£
Ò³:
[1]