Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
When I installed slackware 10, I told it to install mysql. It did install it but now I can't get it started. I use the standard mysqld_safe & to commence it, but when I go to use an app that uses mysql, mythtv to be exact, i get the following error:
Unable to connect to database!
Driver error was [1/1130]:
QMYSQL3: Unable to connect
Database error was:
Host '192.168.2.28' is not allowed to connect to this MySQL server
Unable to open database:
Driver error was:
QMYSQL3: Unable to connect
Database error was:
Host '192.168.2.28' is not allowed to connect to this MySQL server
Not sure if this will work for you, but looks like the way to start a few applications has change significantly (at least, with SuSE 9.1 it did). For me, to start mysql, I've to use:
Originally posted by shimmer2101 or check hosts.allow and hosts.deny
maybe even firewall
MySQL is refusing the connection, it has nothing to do with hosts.allow or hosts.deny or firewall.
Quote:
Database error was:
Host '192.168.2.28' is not allowed to connect to this MySQL server
Quote:
Originally posted by shimmer2101
and don't remember where but isn't there someplace in the mysql configuration
where you have to say who can connect to it?
i remember setting somewhere that only localhost can connect to my database
(using it for php that's the only place i need to connect from)
shell> mysql -u root -p mysql
mysql> select User, Host from user where User='<username>'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.