MySql has been working perfectly fine: 'root' without a password...i've been trying to setup a password for User: 'root' but couldn't.I think something went wrong as i was fiddling...today i cant access PHPMyAdmin Please help!!!
Should i uninstall it and install again?
Error: #1045 - Access denied for user 'root'@'localhost' (using password: NO)
Thanks Mac, i think its best if i uninstall then re-install...but i need to know what i did wrong so i don't make the same mistake again.should i leave the 'root' password empty?
Admin
Registered: 18 years ago
Posts: 10,001
Rating: 353
Well, there is not just one reason for such errors, and there are different approaches to fixing it - depending on what really went wrong (same error for different reasons). If this on a real server, one would not want to leave it empty, but that would not be your problem because you will not be responsible for the sever. So all that matters now is to make it work.