Mysql Database will not Work

prism4

Verified User
Joined
Nov 22, 2003
Messages
21
Can't get mysql feature to work. Here is the error message we are getting:

Error connecting to MySQL: Access denied for user: 'admin@localhost' (Using password: YES)

and then when we try to add a database we get this error :

Error connecting to MySQL: Access denied for user: 'admin@localhost' (Using password: YES)

Need help fast thanks:(
 
You might need to log in as root and reset the password for the user admin@localhost , if you don't know the root password, look here on how to restart mysql in a mode where you can change the root password. Once that is reset, you can use Phpmyadmin to reset any other password.
 
As toml said, the error message toml is getting does not mean the daemon isn't running; it means the password is incorrect.

The mysql daemon is monitored by DirectAdmin. Therefore if for some reason it's not running, then running the /etc/init.d/mysqld start command probably won't start it.

In that case I'd rcommend looking in /var/log/messages (perhaps tailing it in realtime while attempting to start the daemon) to see what, if any error messages, it's coming up with.

But in this case it appears that there's an incorrect password.

Jeff
 
Back
Top