MySQL database user error access denied.

Asked By 0 points N/A Posted on -
qa-featured

I use MYSQL to connect to a database and recently, I encountered an error that has denied access to the database.

Is there anyway the problem can be solved?

I have attached a screen shot of the command prompt showing the error message. The message reads, "ERROR 1045 <28000>: Access denied for user 'root'@'localhost' <using password: YES>".

SHARE
Answered By 0 points N/A #127044

MySQL database user error access denied.

qa-featured

Hi Polymyth,

There are a number of causes that cause this error. The main cause of this error occurring could be that, it is turned off. If it is turned off you will not be able to access your MySQL server. So make sure that the server is up and running whenever you access it. Also it may be that your firewall is blocking you from accessing MySQL. Configure your firewall and check to see if your problem has been resolved.

Another reason could be due to a DNS problem. Make sure that this is not the case. You will have to reset the internal DNS host name cache to fix the problem.

Related Questions