Question Locked

MySQL/Linux question

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to no avail to enable a TCP connection to my MySQL server I have running on a Linux PC. I have Googled and found alot of infomation about modifying the /etc/my.cnf file. I added the server ip into the "bind-address" line and restarted the server but I still cannot connect. The my.cnf file wasn't there by default I had to copy it as directed from the support-files directory. Is there somewhere I have to tell Linux to look for this file?
It seems to me that I can't just put a file in a directory and expect it to work but then what do I know. ;)

5 replies

by deity_chooch

Can you login to the MySQL console? Perhaps you need to GRANT access to the users before a connection is allowed.

by jiminpa

Can you elaborate when you say "GRANT access"? I'm a bit of a nube when it comes to this platform.

by m61

might be in a different location, so try running these commands:
# updatedb
# locate my.cnf
note: you will need to be root to run this

This discussion is closed to new replies.