mysql> grant all privileges on cakephp.* to cakephp@192.168.14.1 identified by 'lpfukia';
Query OK, 0 rows affected (0.01 sec)
mysql>
mysql>
mysql>
mysql> flush privileges;
$1 >> 第一條命令: 授權192.168.14.1 主機的cakephp用戶訪問cakephp數據庫
$2 >> 第二條命令: 刷新授權表
新聞熱點
疑難解答