Whenever you enconter this:

  1. Please use mysql_upgrade to fix this error.

or using  mysql_upgrade -u root -p says:
  1. Looking for 'mysql' as: mysql
  2. Looking for 'mysqlcheck' as: mysqlcheck
  3. Error: Failed while fetching Server version! Could be due to unauthorized access.
  4. FATAL ERROR: Upgrade failed

you can try this:
  1. chown -R mysql /var/lib/mysql
  2. mysql_upgrade -u root -p





相关文章:

  • 2021-11-12
  • 2021-10-27
  • 2021-12-11
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2022-01-07
  • 2021-09-16
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案