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

后端 未结 8 1330
夕颜
夕颜 2020-11-29 21:28

I\'m trying to set the password of the user root but I\'m gettin the error below, any idea?

+----------------------------------------------------------------         


        
8条回答
  •  余生分开走
    2020-11-29 22:21

    $ mysqladmin -u root -p password
    Enter password: 
    New password: 
    Confirm new password:
    

    password is to be typed literally. It's a command. You don't have to substitute password with your actual password.

提交回复
热议问题