Error # 1045 - Cannot Log in to MySQL server -> phpmyadmin

前端 未结 10 2500
别跟我提以往
别跟我提以往 2021-01-01 23:28

We have installed PHPMyAdmin on a windows machine running IIS 7.0.
We are able to connect to MySQL using command-line, But we are not able to connect using PHPMyAdmin.

10条回答
  •  礼貌的吻别
    2021-01-02 00:15

    sudo service mysql stop
    

    sudo mysqld --skip-grant-tables &
    

    mysql -u root mysql
    

    Change MYSECRET with your new root password
    
    UPDATE user SET Password=PASSWORD('MYSECRET') WHERE User='root'; FLUSH PRIVILEGES; exit;
    

提交回复
热议问题