Hi, all.
First, I should give some information on the setting:
I have mysql database, say, mydatabase, existing in one machine A which is
Solaris; I am trying to connect this database from another XP machine.
The code snippet in the XP machine looks like this:
String driver =
Xiaobo Chen wrote:
then I tried 'telnet':
telnet aaa.bbb.ca or telnet aaa.bbb.ca:3306
both case, it said: Could not connected to the host , on port 23: connect
failed.
Your second example is invalid -- it should be `aaa.bbb.ca 3306` --
so it's not surprising that didn't work :-)
But
I already turned off the firewall on the XP machine, but it doesn't work
either. I am doubting that in the database on the other Solaris machine,
it doesn't allow the connection from the XP machine. I am doubting this
way because other application on other Solaris machine can conenction to
the
Xiaobo Chen wrote:
I already turned off the firewall on the XP machine, but it doesn't work
either. I am doubting that in the database on the other Solaris machine,
it doesn't allow the connection from the XP machine. I am doubting this
way because other application on other Solaris machine
I can not use 'telnet aaa.bbb.ca 3306' on XP machine, it will give error
like this:
Could not open connection to the host, on port 3306. Connection failed.
But if I try on other Solaris machines ,it will say something like this:
Trying (IP address)
Connected to aaa.bbb.ca.
Escape character is
Xiaobo Chen wrote:
I can not use 'telnet aaa.bbb.ca 3306' on XP machine, it will give error
like this:
Could not open connection to the host, on port 3306. Connection failed.
But if I try on other Solaris machines ,it will say something like this:
Trying (IP address)
Connected to
At 14:57 -0400 11/2/05, Xiaobo Chen wrote:
I already turned off the firewall on the XP machine, but it doesn't work
either. I am doubting that in the database on the other Solaris machine,
it doesn't allow the connection from the XP machine. I am doubting this
way because other application on