我有在Linux客戶端和無法連接到MySQL遠程
我想連接到MySQL遠程2臺計算機可以相互ping沒有MySQL服務器的任何問題我正確設置權限在Windows的MySQL服務器因此指定的客戶端允許連接
WIN IP: 192.168.1.2
Linux IP:192.168.1.3
在windows系統:
GRANT ALL ON *.* TO 'parsa'@'192.168.1.3' IDENTIFIED BY 'parsa';
flush all privileges;
在我的Linux
,在my.cnf我mysqld
著述這一行撓度
bind-address=192.168.1.2
skip-networking
有人評論,我沒有改變它 我重新啓動mysql的
當我使用
telnet 192.168.1.2 3306
telnet:connect to address 192.168.1.2:Connection timed out
,並使用這個命令:
mysql -h 192.168.1.2 -u parsa -p parsa
Error 2003:can't connect to mysql server on 192.168.1.2
的雙方的firewalls
都禁用wha我該怎麼辦?
命令:net stats srv
統計自2012/2/29下午4點52分22秒
Sessions accepted 1
Sessions timed-out 0
Sessions errored-out 0
Kilobytes sent 0
Kilobytes received 0
Mean response time (msec) 0
System errors 0
Permission violations 0
Password violations 0
Files accessed 0
Communication devices accessed 0
Print jobs spooled 0
Times buffers exhausted
Big buffers 0
Request buffers 0
The command completed successfully.
嘗試''parsa'@'*''看到它,如果它是一個主機問題或連接(IP表,路由器等) – scibuff 2012-02-29 14:25:25
你有'skip-networking'在你的my.cnf嗎?它將覆蓋綁定地址。 – 2012-02-29 14:26:42
我試了沒有什麼改變 – Nickool 2012-02-29 14:26:55