 <p>Same problem here</p> <pre><code>$ mysqldump -h localhost --lock-all-tables --set-gtid-purged=OFF -u root -p --socket=/var/run/mysqld/mysqld.sock --all-databases &gt; dump.sql mysqldump: Couldn't execute 'SHOW VARIABLES LIKE 'ndbinfo\_version'': Native table 'performance_schema'.'session_variables' has the wrong structure (1682) </code></pre> <p>Have you test a</p> <pre><code>$ mysql_upgrade -u root -p </code></pre> <p>or</p> <pre><code>$ mysql_upgrade --force -u root -p </code></pre>