I can install the mysql but while configuring it i am getting error like this: ** 1045 : access denied for user root@loaclhost.** i can install it i cant configure it. Please help...I am quite new to this.
migrated from stackoverflow.com Jul 23 '12 at 0:01
This question came from our site for professional and enthusiast programmers.
did you specify a password for the root user - there is no pwd for the root user by default so if you have not specified a password for the root user, you can connect like this:
if you specified a password, you can connect like this:
If you need to reset the password for root, you can try this:
It would be good if you create a separate user and not use root for your DB operations (where you don't need root).