Mysql password expired. Can't connect

后端 未结 19 1459
慢半拍i
慢半拍i 2020-12-02 06:20

I just wiped my Mac and did a fresh install of El Capitan. I\'m struggling to connect to Mysql now. Having gone through a web server setup process, I\'ve created a simple PH

19条回答
  •  清歌不尽
    2020-12-02 06:53

    WARNING: this will allow any user to login

    I had to try something else. Since my root password expired and altering was not an option because

    Column count of mysql.user is wrong. Expected 45, found 46. The table is probably corrupted

    temporarly adding skip-grant-tables under [mysqld] in my.cnf and restarting mysql did the trick

提交回复
热议问题