Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
For anyone who has the same problem the fix is to add the following line to the <directory> directives
The error messages are apparently caused by apache 2.2.2 expecting a users file even if the auth method doesn't use one. And also probably by the fact that you need to use an unofficial patch to get mod_auth_mysql to complile.
This is the error I'm getting when I try to view our website, thearkinc.com:
Unable to connect to database server
This either means that the username and password information in your settings.php file is incorrect or we can't contact the MySQL database server. This could mean your hosting provider's database server is down.
The MySQL error was: Access denied for user: 'mysqluser@localhost' (Using password: YES).
Currently, the username is arksqluser and the database server is localhost.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
I've discovered it's only the parts of the site that uses the mysql db that doesn't work, so I tried to login on the command line using:
mysql -u myauthuser -p myauthpasswd as root
and I get:
ERROR 1045: Access denied for user: 'myauthuser@myhost' (Using password: YES)
I know I'm using the correct username and password. I've restarted the server to no avail and restarted the mysqld service with no errors. Any ideas would be greatly appreciated. Thanks in advance for any help.
The server is running RH w/ Fedora Core 2
So, our server uses a program called Plesk. For some reason it seems to overwrite files at random times. Can't figure that out yet, but I can access Plesk Control Panel online. The fix was to turn the domain controler back on and somehow this fixed the mysql login problem. Yes, I am new to this. Thanks.