今天在linux上面配置了乙個mysql資料庫~~為了管理方便,我在mysql.com上面選擇乙個mysql gui的工具,來從windows端用圖形的方式管理mysql。結果發現了乙個問題,現在已經完全解決掉了,把前後原因記錄於此..
具體操作及出錯情況如下:解決方法:d:/mysql5/bin>mysql -h 192.168.0.197 -u root -p
enter password: ********
error 1130 (00000): host '192.168.0.197
' is not allowed to connect to this mysql ser
verd:/mysql5/bin>
192.9.100.50是我本機的ip,'192.168.0.197
'是我機器的名字。error 1130 (00000)怎麼解決呢?我的mysql是解壓zip安裝的。
可是下面這樣操作又對著呢,為什麼????????
d:/mysql5/bin>mysql -u root -p
enter password: ********
welcome to the mysql monitor. commands end with ; or /g.
your mysql connection id is 2 to server version: 5.0.9-beta
type 'help;' or '/h' for help. type '/c' to clear the buffer.
mysql>
mysql>grant all on *.* to root@'%' identified by 'yourpassword';太帥了~~~mysql>flush privileges; //然後重新整理許可權
解決遠端不能連線MYSQL問題
報錯 is not allowed to connect to this mysql server 一般來說新安裝乙個mysql會遇到這種問題 解決的三個步驟 1.確保mysql所在機器的是否已經把mysql的3306埠開啟,如果沒有在window裡面的防火牆裡面配置特定的埠出站 2.確保mysql...
解決MYSQL不能遠端連線的問題
一 預設root賬戶不允許遠端訪問。解決方法 1 建立新賬戶,授予許可權。1 進入mysql安裝目錄下的bin,執行 mysql uroot p 2 mysql use mysql 3 建立使用者 mysql user 使用者名稱 identified by 密碼 4 授權使用者 mysql gra...
解決遠端連線Mysql出錯的問題
遠端連線mysql,如果報 can t connect to mysql server on localhost 0 這種資訊 解決,進入mysql配置檔案,win下 my.ini liunx下 my.conf。把 mysqld 下的 bind address 127.0.0.1 注釋就好。前面加個...