| 213 | == mysql_upgrade fails == |
| 214 | You might end up in a catch22 if your mysql server doesn't want to start due to a failure message like: |
| 215 | {{{ |
| 216 | Can't open the mysql.plugin table. Please run mysql_upgrade to create it. |
| 217 | }} |
| 218 | then trying to run upgrade might give you: |
| 219 | {{{ |
| 220 | sudo /opt/local/lib/mysql57/bin/mysql_upgrade -u root -p |
| 221 | Enter password: |
| 222 | mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/opt/local/var/run/mysql57/mysqld.sock' (2) while connecting to the MySQL server |
| 223 | Upgrade process encountered error and will not continue. |
| 224 | }}} |
| 225 | Please add a solution here if you find one. |