MySQL - ошибка Native table 'performance schema'.'session variables' has the wrong structure
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Версия от 17:35, 6 апреля 2020; Admin iph (обсуждение | вклад)
MySQL - ошибка Native table 'performance schema'.'session variables' has the wrong structure
Ошибка:
mysqli_query(): (HY000/1682): Native table 'performance_schema'.'session_variables' has the wrong structure
может возникать после обновления mysql на новую версию. Решение - запустить mysql_upgrade и перезапустить mysql сервер:
# mysql_upgrade # systemctl restart mysqld