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)航:
           
          主站蜘蛛池模板: 舒城县| 石嘴山市| 义马市| 翼城县| 镇江市| 布尔津县| 乐清市| 札达县| 永定县| 罗源县| 全州县| 米易县| 拉萨市| 贺兰县| 交城县| 双辽市| 邯郸县| 富平县| 霍州市| 阿拉善右旗| 巴南区| 金乡县| 潍坊市| 巴彦县| 华亭县| 浑源县| 拜泉县| 蓬安县| 镇江市| 阿图什市| 济源市| 四子王旗| 和平县| 浦江县| 孝感市| 定西市| 新绛县| 多伦县| 泉州市| 嘉兴市| 平原县|