bugfree搭建后mysql不能被navicat登錄
bugfree登錄報CDbException錯誤
一、針對問題:
1、我搭建了一個bugfree 管理平臺 , 用的是mysql資料庫 ,
2、然后現在有這樣一個情況,bugfree正常運行可以提bug,但是我用其他電腦登錄mysql用navicat,就登錄不上,
3、解決方法 mysql用戶的user表里host的localhost改為%就可以 ,
4、這樣我改了以后,navicat可以登錄了,但是bugfree平臺打不開了,

二、解決辦法:
1、新建root用戶,服務器上用命令列直接登陸mysql;
2、登錄后執行 create user ‘root’@’%’ identified by ‘密碼’; 新建root用戶,并設定密碼
grant all privileges on . to ‘root’@’%’; 權限賦值%;
flush privileges; 立即生效
重啟mysql服務,問題解決;;
如果對你有幫助,記得點個贊,謝謝~
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/203863.html
標籤:其他
上一篇:Mysql MVVC筆記
