Questions | Login

Top / PHP / MySQL

Solution for this error ?

demo 22 Dec 2008 12:18am
Access denied for user 'root'@'localhost' (using password: YES)
I get this error when trying to use MySQL on my MacBookPro using 10.5.5 and there doesn't seem to be a soltuion on the web that works.
I'm using it in conjunction with PHP

Answers

demo 22 Dec 2008 12:35am
You need to first log from in the terminal as root without the password. (No -p) Then set the password as described in the manual. After this you really should create a different user name on mysql to use on a regular basis and set a password for that. Then never use the root login.

Related

Submit Answer

You must be logged in to post an answer. Please Login or Register.

Powered by phpMyAnswers.