mysqldump -uroot -p ca>ca.sql
Enter password:
mysqldump: Couldn't execute 'SHOW VARIABLES LIKE 'gtid\_mode'': Table 'performance_schema.session_variables' doesn't exist
解决:
USE performance_schema;
CREATE TABLE session_variables (
VARIABLE_NAME VARCHAR(64),
VARIABLE_VALUE VARCHAR(1024)
);