ÐèÒª´ò¿ªÓû§È¨ÏÞºÍ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ÖØÆô¼´¿ÉÔ¶³Ì·ÃÎÊ¡£