标签:ESS upgrade 需要 tables print message 错误 start 原来
估计是手欠,一不小心把mysql5.7升到8.0.15,版本高看着就爽啊。于是想了各种办法:
[ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we‘re sending the information to the error-log instead: MY-001146 - Table ‘mysql.component‘ doesn‘t exist
然后在google上搜“[ERROR] [MY-013129] [Server]”,原来已经有人遇到同样的问题了:
https://bugs.mysql.com/bug.php?id=89267
1. stop 5.7.21
2. swap binaries for 8.0.4
3. start mysql with skip-networking and skip-grant-tables etc.
4. sudo mysql_upgrade --no-defaults $(sudo my_print_defaults client | egrep ‘^--socket‘ | head -1)
5. restart mysql
依样画葫芦:
1.brew services stop mysql
2.mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
3.sudo mysql_upgrade --no-defaults $(sudo my_print_defaults client | egrep ‘^--socket‘ | head -1)
4.brew services start mysql
问题解决
mac os Mojave中brew安装的mysql因升级导致无法启动问题的解决
标签:ESS upgrade 需要 tables print message 错误 start 原来
原文地址:https://blog.51cto.com/ustb80/2384166