N/APosted on - 09/22/2011
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>".
MySQL database user error access denied.
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.