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 Link to comment https://forums.phpfreaks.com/topic/20076-mysql-dont-run/ 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. Link to comment https://forums.phpfreaks.com/topic/20076-mysql-dont-run/#findComment-88251 Share on other sites More sharing options...
jeva39 Posted September 8, 2006 Author Share Posted September 8, 2006 Thanks. All run OK!!! Link to comment https://forums.phpfreaks.com/topic/20076-mysql-dont-run/#findComment-88717 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.