Access denied for user 'root@localhost' (using password:NO)

前端 未结 16 1035
萌比男神i
萌比男神i 2020-11-22 15:30

I\'m new to MySQL, I\'m trying to run WordPress in my Windows desktop and it needs MySQL.

I install everything with Web Platform Installer which is prov

16条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-22 15:47

    For some information I've get error after changing password:

    Access denied for user 'root'@'localhost' (using password: NO)

    Access denied for user 'root'@'localhost' (using password: YES)

    In both cases there was error.

    But the thing is after that I've tried it with

    mysql -uroot -ppassword instead of

    mysql -u root -p password -> with spaces between -uroot and -ppassword so maybe if someone get trouble can try this way.

提交回复
热议问题