jeva39 Posted September 8, 2006 Share Posted September 8, 2006 I install mySql in XP Professional machine and I define Password but not USER. I undertand that I can use root like user but when I try, for example, to run [b]mySql> mysql -u root [/b] (or other command), I receive this error. [b]Access denied for user 'root'@' localhost <using password:NO>[/b]It has not been possible to obtain that mySql runs. I install acording with rules in PHP manual but...nothing!!Can you help me?Thanks in advanced because is urgent for me Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted September 8, 2006 Share Posted September 8, 2006 Looks like you have a password set for the root user. add the -p command at the end of the commandmysql> mysql -u root -pNo hit enter. MySQL will promt for a password. Enter the password in after hit enter. If its correct it'll log you in and show the MySQL Command Line. Quote Link to comment Share on other sites More sharing options...
jeva39 Posted September 8, 2006 Author Share Posted September 8, 2006 Thanks. All run OK!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.