查看: 1249|回复: 4
|
mySQL: connection between server and client
[复制链接]
|
|
mySQL: connection between server and client
我把MySQL 4.1 安裝在XP Pro当做server. xp home 当做 client. 兩台電腦都設 fix ip, same workgroup.
再安裝mysql-connector-odbc-3.51.15-win32 在 CLIENT.
為何 client 不能連接 server's MySQL.
"Host 'localhost' is not allowed to connect to this MySQL server"
是因為 server 沒有 client's info?
是不是要加 hostname, ip, port 在 server 里?
command 要如何寫?
請各位幫幫忙... |
|
|
|
|
|
|
|
发表于 6-8-2007 09:36 AM
|
显示全部楼层
在 client 那里你应该放 server ip 而不是 localhost |
|
|
|
|
|
|
|

楼主 |
发表于 6-8-2007 05:19 PM
|
显示全部楼层
回复 #2 goatstudio 的帖子
如果放ip...
"Host '192.168.xxx.xxx' is not allowed to connect to this MySQL server"
我試过了... |
|
|
|
|
|
|
|
发表于 8-8-2007 02:33 AM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 20-9-2007 05:57 PM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|