Rising Sun

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            148 隨筆 :: 0 文章 :: 22 評論 :: 0 Trackbacks

          在使用MySQL-Front連接mysql的時(shí)候發(fā)生的這個(gè)錯(cuò)誤

          ERROR 1130: Host 192.168.88.160 is not allowed to connect to this MySQL server

          更改 mysql 數(shù)據(jù)庫里的 user表里的 host項(xiàng)
          localhost改稱%

          mysql -u root -p

          mysql>use mysql;

          mysql>update user set host = '%'  where user ='root';

          mysql>flush privileges;

          mysql>select 'host','user' from user where user='root';

          現(xiàn)在就可以連接了! 

          權(quán)限

           GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' with grant option;

          posted on 2009-04-13 16:52 brock 閱讀(4422) 評論(1)  編輯  收藏

          評論

          # re: ERROR 1130: Host 192.168.88.160 is not allowed to connect to this MySQL server 2010-06-18 18:27 czm
          Duplicate entry '%-root' for key 'PRIMARY'
            回復(fù)  更多評論
            


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 石门县| 兴和县| 久治县| 平江县| 乐陵市| 原平市| 云南省| 江口县| 武安市| 古浪县| 辽宁省| 綦江县| 洛扎县| 淅川县| 昌都县| 通道| 晋江市| 淄博市| 漳州市| 南平市| 永泰县| 古丈县| 岳阳县| 江山市| 龙海市| 芮城县| 德江县| 秭归县| 富阳市| 辛集市| 毕节市| 西平县| 焉耆| 清涧县| 雷山县| 勃利县| 江陵县| 江津市| 平顺县| 郯城县| 泾川县|