mysql - Access denied for user 'root@localhost' (using password:NO) -
i'm new mysql, i'm trying run wordpress inmy windows desktop , need mysql.
i install web platform installer provided microsoft. never seta root password mysql , in final step of installing wordpressit askfor root password of mysql.
what default password root (if there one) , how change it?
i try
mysql -u root password '123' but show me
access denied user 'root@localhost' (using password:no) after try
mysql -u root -p but ask password don't have
thank in advance
update : bozho said did following
1 - stoped mysql service windows services 2 - open cmd 3 - change location cd c:\program files\mysql\bin 4 - write command mysqld --defaults-file="c:\\program files\\mysql\\mysql server 5.1\\my.ini" --init-files=c:\\root.txt 5 - command run warning characterset mentioned below 6 - start mysql service windows services 7 - in command line write mysql -u root -p enterpassword: 123 // 123 password 8 - commandline shows following bug access denied user 'root@localhost' (using password:**yes**) i'm waiting hear you.
you can reset root password. have in mind not advisable use root without password.
Comments
Post a Comment