Before I proceed to my question, I just want to say hello to everyone, this is my first post here at LQ
Well, here it is...
I'm try to setup a database server using mysql, the server starts fine, and I can access it using the built in mysql client via console (adding databases and tables works fine), but the problem is... I always get a connection refused error whenever I access the database outside the built in mysql client (example, if I write a code that connects to mysql). So, I tried execute an nmap command and the only ports open are these ports:
PORT STATE SERVICE
22/tcp open ssh
37/tcp open time
113/tcp open auth
6000/tcp open X11
45100/tcp open unknown
there's no 3306 for mysql...
I'm thinking that the firewall is just blocking the port that mysql is using, but my question is, how could the built in client connect to the server if there's no open port for mysql server? Don't clients usually access a servers through ports?
I would appreciate it very much If someone could help me with my problem.
Thanks in advance.
P.S. I'm using the mysql server bundled with Slackware 13.0, I think its version 5.0.84.