swangods
09-28-2002, 07:02 PM
Okay, I can't find anything of value on google or on the board yet.
I'm trying to run MySQL on my local network. The service seems to start up fine, and when I'm logged into the server I can access everything just fine through command-line mysql. Attempts to connect via MySQLGui on that machine and another machine, as well as ODBC from a Windows machine, fail.
I suspect it's a port problem. MySQLGui and the ODBC driver default to 3306. In addition, /etc/mysql/mf.cnf lists the port as 3306 under both [client] and [mysqld].
In my home directory though, for the user I've been using to test from command line, .mysql.options listed port as 111. I've tried changing that line 3306, no luck. I've tried changing all port values to 111, no luck. When I try connecting through 111 with WinSQL (which just opens up an ODBC connect and acts as a SQL interpreter, it's a great tool) it hangs. nmap actually shows 111 open to sunrpc, and nothing for 3306.
So I get the message below when trying to use 3306 for mysqlgui or odbc. In case the image doesn't come through, it's basically complaining about "ODBC Error:(TCX)(MyODBC)Can't connect to MySQL server on phoenix (10061)" The error through mysqlgui is pretty much the same thing, referencing the 10061 problem. Phoenix is a recognizable dns entry, and I've even tried entering by IP address. The reason I suspect a ports problem is the nmap results not showing 3306. But if the daemon is set to run on 3306, shouldn't it open that port? I've tried with and without passwords as well in case that might be an issue. It just seems that it doesn't want to find anything out there.
Addendum: the exact error in mysql gui is: "Can't connect to MySQL server on 'phoenix' (10061)."
Any suggestions?? Thanks!
http://www.ililypad.com/images/10061.jpg
I'm trying to run MySQL on my local network. The service seems to start up fine, and when I'm logged into the server I can access everything just fine through command-line mysql. Attempts to connect via MySQLGui on that machine and another machine, as well as ODBC from a Windows machine, fail.
I suspect it's a port problem. MySQLGui and the ODBC driver default to 3306. In addition, /etc/mysql/mf.cnf lists the port as 3306 under both [client] and [mysqld].
In my home directory though, for the user I've been using to test from command line, .mysql.options listed port as 111. I've tried changing that line 3306, no luck. I've tried changing all port values to 111, no luck. When I try connecting through 111 with WinSQL (which just opens up an ODBC connect and acts as a SQL interpreter, it's a great tool) it hangs. nmap actually shows 111 open to sunrpc, and nothing for 3306.
So I get the message below when trying to use 3306 for mysqlgui or odbc. In case the image doesn't come through, it's basically complaining about "ODBC Error:(TCX)(MyODBC)Can't connect to MySQL server on phoenix (10061)" The error through mysqlgui is pretty much the same thing, referencing the 10061 problem. Phoenix is a recognizable dns entry, and I've even tried entering by IP address. The reason I suspect a ports problem is the nmap results not showing 3306. But if the daemon is set to run on 3306, shouldn't it open that port? I've tried with and without passwords as well in case that might be an issue. It just seems that it doesn't want to find anything out there.
Addendum: the exact error in mysql gui is: "Can't connect to MySQL server on 'phoenix' (10061)."
Any suggestions?? Thanks!
http://www.ililypad.com/images/10061.jpg