MySQL - ошибка Native table 'performance schema'.'session variables' has the wrong structure: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Admin iph (обсуждение | вклад) (Новая страница: «link=https://bit.ly/3tbFsd6| Доступная цена === MySQL - ошибка Native table 'performance schema'.'session va…») |
Admin iph (обсуждение | вклад) |
||
Строка 7: | Строка 7: | ||
mysqli_query(): (HY000/1682): 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 на новую версию. Решение - запустить '''mysql_upgrade''' и перезапустить mysql сервер: |
# mysql_upgrade | # mysql_upgrade | ||
# systemctl restart mysqld | # systemctl restart mysqld |
Текущая версия на 17:35, 6 апреля 2020
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