ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Ubuntu

ÔÚubuntu7.10ÖÐmysql°²×°,ĬÈÏÊÇÖ»Äܱ¾»ú·ÃÎʵÄ

·¢²¼Ê±¼ä:2008-04-05 00:16:58À´Ô´:ºìÁª×÷Õß:ginceo
ÐèÒª´ò¿ªÓû§È¨ÏÞºÍmysqlµÄ±¾»ú°ó¶¨

1¡¢ÔÚÃüÁîÐе×Ï´ò¿ªÓû§È¨ÏÞ:grant all privileges on drupal.* to user@192.168.1.80 identified by 'user-password';

ÔÚ¹ÜÀíÔ±½çÃæ¿ÉÒÔͨ¹ýÓû§¹ÜÀíadd host->any hostÀ´Ìí¼Ó·ÃÎÊȨÏÞ£¨rootÓû§Ä¬ÈÏÖ»ÄÜ·ÃÎʱ¾»ú£¬ÐÂÌí¼ÓµÄÓû§¿ÉÔ¶³Ì£©

2¡¢È¡Ïûmysql±¾»ú°ó¶¨£º

±à¼­/etc/mysql/my.cnf

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 127.0.0.1

½«¡±bind-address = 127.0.0.1¡°×¢ÊÍ

sudo /etc/init.d/./mysql restartÖØÆô¼´¿ÉÔ¶³Ì·ÃÎÊ¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ