mysql遠程鏈接 Host * is not allowed to connect to this MySQL server

在本機登入mysql後,更改"mysql"數據庫裏的"user"表裏的"host"項,從"localhost"改成'%'。mysql 代碼以下         sql mysql>數據庫 mysql>use mysql;登錄 mysql>select 'host' from user where user='root';date #查看mysql庫中的user表的host值(便可進行鏈接訪問的主機
相關文章
相關標籤/搜索