Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi!
How can I enable remote mysql access into my server? I know that I need to bind server to my IP, but I dont know where is the actual configuration file! There are like 4 .conf files in /etc:
my-small
my-large
etc..
You'll need to copy one of them to /etc/my.cnf, configure it and edit /etc/rc.d/rc.mysqld. If you want to be able to access the database over the networking, you should comment out the line in /etc/rc.d/rc.mysqld:
Code:
SKIP="--skip-networking"
Also, make sure that the /etc/my.cnf file doesn't have a line like the following in it:
I'm assuming that it's working locally - is that correct? You've used the mysql client to connect to a database locally?
If so, what error are you getting from the remote PC? If it's a straight "connection refused" or your iptables rules may need configuring to allow the connection to the database. If not, the database may not have started correctly. What other steps did you take when trying to start the mysql database?
Have you read through the info at the link I posted earlier? There are a couple of reference links in that thread that are worth reading. Also, please google the error messages that mysql provides - believe me, you're not the first person to get a cryptic error message
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.