150814 9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
150814 9:09:14 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure
150814 9:09:14 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.44-cll-lve' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL) by Atomicorp
Puis je cours
mysql_upgrade
Ça montre:
Vous recherchez 'mysql' comme: mysql
Vous recherchez 'mysqlcheck' comme: mysqlcheck
FATAL ERROR: la mise à niveau a échoué
Il semble que cela se produise après la mise à niveau. Redémarrez simplement mysql:
service mysql restart
et l'erreur devrait maintenant avoir disparu.
Si vous utilisez MySQL sur votre périphérique local, vous devez mettre à jour votre mysql puis redémarrer:
Améliorer:
$ mysql_upgrade -u root
Redémarrer:
$ mysql.server restart
Windows7 Pro, Mysql 5.7, Java Tomcat
J'ai essayé de mettre à jour le serveur mysql de la version 5.7.8 à la version 5.7.18 à l'aide du programme de mise à jour Web Windows disponible sur Mysql.com. La nouvelle version installée, démarrée en tant que service, mais ne sert à rien, y compris à la connexion.
À l'aide de la boîte de commande Windows, accédez au répertoire C:\Program Files\MySQL\MySQL Server 5.7\bin
Tapez: mysql_upgrade --force -u root -p
Entrez le mot de passe de la version précédente en cours de mise à niveau.
Redémarrez le service Mysql sous Windows> Démarrer> Outils d'administration> Services.
Le serveur Mysql a immédiatement démarré et s'est connecté au conteneur Java Servlet.