Can't connect to MySQL server on (ip or domain name)

前端 未结 6 2131
旧巷少年郎
旧巷少年郎 2021-02-13 16:48

I\'m trying to configure a web server (Debian 7). I followed this tutorial. I\'m renting my server thanks to gandi.net service. And i have now apache2, mysql, php5 up and runnin

6条回答
  •  生来不讨喜
    2021-02-13 17:26

    I fix the issue by simply running this line on terminal

    ALTER USER 'your_user'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password';
    

    your_user = root for me
    your_password = something choose what ever you want

提交回复
热议问题