Jump to content


Photo

mySql don't run


  • Please log in to reply
2 replies to this topic

#1 jeva39

jeva39
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 08 September 2006 - 01:47 AM

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

mySql> mysql -u root (or other command), I receive this error.

Access denied for user 'root'@' localhost <using password:NO>

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

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 08 September 2006 - 09:34 AM

Looks like you have a password set for the root user. add the -p command at the end of the command
mysql> mysql -u root -p

No 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.

#3 jeva39

jeva39
  • Members
  • PipPip
  • Member
  • 14 posts

Posted 08 September 2006 - 10:17 PM

Thanks. All run OK!!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users