can't connect to mysql virtual server unless I rm /etc/udev/rules.d/*
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
can't connect to mysql virtual server unless I rm /etc/udev/rules.d/*
Like the subject hints at I can't ping or mysql my mysql server unless I delete the file in rules.d/ and then reboot. I'm guessing this is related to the fact that the virtual disk is located on my SD card and I use it in multiple computers. I'm just not familiar enough with the inner workings of udev to figure out a more permanent solution. I've tried /etc/rc.d/rc.udev force-restart, but that doesn't help.
Once I delete the contents of rules.d/ and reboot, everything works fine. But I'd rather just have to boot up my virtual slack once. (I'm using VirtualBox.)
If you want to connect to MySQL/MariaDB server via network, you need to edit /etc/rc.d/rc.mysqld
Code:
# To allow outside connections to the database comment out the next line.
# If you don't need incoming network connections, then leave the line
# uncommented to improve system security.
#SKIP="--skip-networking"
That line doesn't exist in my.cnf. And I can connect to it, it's just that I have to delete the contents of /etc/udev/rules.d/ and reboot then wait a minute or two.
It's not just mysql. I can't ping it either, unless I do the above steps. It may be that that's just what I'm going to have to do.
Since the MAC address is constantly changing, you might be able to replace that with a wildcard... however, I don't know how well this would work on a system with multiple NICs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.