Problems using old v5.6 DBs with new MySQL 5.7.9
I have a couple of MySQL-DBs which can be accessed normally with my old MySQL engine v5.6.2 (64bit).
Now I installed v5.7.9 (64bit) under Win 7 (64 bit)
When I startup the new mySQL as standalone server "as usual" a couple of errors appeared (see error output at the bottom):
So I guess the internal DB structures & tables of a v5.6.2 DB are not compatible any more with those of a v5.7.9 MsSQL engine.
How can I convert such an old DB to a new DB?
Peter
2015-10-22T09:59:12.283897Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-10-22T09:59:12.283897Z 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2015-10-22T09:59:12.283897Z 0 [Note] D:\mysql\v5.x64\bin\mysqld.exe (mysqld 5.7.9-log) starting as process 5212 ...
2015-10-22T09:59:12.299497Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2015-10-22T09:59:12.299497Z 0 [Note] InnoDB: Uses event mutexes
2015-10-22T09:59:12.299497Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2015-10-22T09:59:12.299497Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-10-22T09:59:12.299497Z 0 [Note] InnoDB: Number of pools: 1
2015-10-22T09:59:12.299497Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2015-10-22T09:59:12.315097Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2015-10-22T09:59:12.330697Z 0 [Note] InnoDB: Completed initialization of buffer pool
2015-10-22T09:59:12.393097Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2015-10-22T09:59:12.595898Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2015-10-22T09:59:12.595898Z 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2015-10-22T09:59:12.907898Z 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
2015-10-22T09:59:12.907898Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2015-10-22T09:59:12.907898Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2015-10-22T09:59:12.923498Z 0 [Note] InnoDB: 5.7.9 started; log sequence number 2353245
2015-10-22T09:59:12.923498Z 0 [Note] InnoDB: Loading buffer pool(s) from D:\mysql\mydata\data\ib_buffer_pool
2015-10-22T09:59:12.923498Z 0 [Note] Plugin 'FEDERATED' is disabled.
2015-10-22T09:59:12.923498Z 0 [Note] InnoDB: not started
2015-10-22T09:59:12.923498Z 0 [Note] InnoDB: Buffer pool(s) load completed at 151022 11:59:12
2015-10-22T09:59:12.923498Z 0 [Warning] System table 'plugin' is expected to be transactional.
2015-10-22T09:59:13.048299Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2015-10-22T09:59:13.079499Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2015-10-22T09:59:13.079499Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2015-10-22T09:59:13.095099Z 0 [Note] IPv6 is available.
2015-10-22T09:59:13.095099Z 0 [Note] - '::' resolves to '::';
2015-10-22T09:59:13.095099Z 0 [Note] Server socket created on IP: '::'.
2015-10-22T09:59:13.095099Z 0 [Warning] Failed to open optimizer cost constant tables
2015-10-22T09:59:13.110699Z 0 [Warning] System table 'time_zone_leap_second' is expected to be transactional.
2015-10-22T09:59:13.110699Z 0 [Warning] System table 'time_zone_name' is expected to be transactional.
2015-10-22T09:59:13.110699Z 0 [Warning] System table 'time_zone' is expected to be transactional.
2015-10-22T09:59:13.110699Z 0 [Warning] System table 'time_zone_transition_type' is expected to be transactional.
2015-10-22T09:59:13.110699Z 0 [Warning] System table 'time_zone_transition' is expected to be transactional.
2015-10-22T09:59:13.110699Z 0 [Warning] System table 'servers' is expected to be transactional.
2015-10-22T09:59:13.126299Z 0 [Warning] Info table is not ready to be used. Table 'mysql.slave_master_info' cannot be opened.
2015-10-22T09:59:13.126299Z 0 [Warning] Info table is not ready to be used. Table 'mysql.slave_relay_log_info' cannot be opened.
2015-10-22T09:59:13.141899Z 0 [ERROR] Incorrect definition of table performance_schema.events_waits_current: expected column 'NESTING_EVENT_TYPE' at position 15 to have type enum('TRANSACTION','STATEMENT','STAGE','WAIT', found type enum('STATEMENT','STAGE','WAIT').
2015-10-22T09:59:13.141899Z 0 [ERROR] Incorrect definition of table performance_schema.events_waits_history: expected column 'NESTING_EVENT_TYPE' at position 15 to have type enum('TRANSACTION','STATEMENT','STAGE','WAIT', found type enum('STATEMENT','STAGE','WAIT').
2015-10-22T09:59:13.141899Z 0 [ERROR] Incorrect definition of table performance_schema.events_waits_history_long: expected column 'NESTING_EVENT_TYPE' at position 15 to have type enum('TRANSACTION','STATEMENT','STAGE','WAIT', found type enum('STATEMENT','STAGE','WAIT').
2015-10-22T09:59:13.141899Z 0 [ERROR] Incorrect definition of table performance_schema.events_waits_summary_by_user_by_event_name: expected column 'USER' at position 0 to have type char(32), found type char(16).
2015-10-22T09:59:13.141899Z 0 [ERROR] Incorrect definition of table performance_schema.events_waits_summary_by_account_by_event_name: expected column 'USER' at position 0 to have type char(32), found type char(16).
2015-10-22T09:59:13.141899Z 0 [ERROR] Column count of performance_schema.setup_actors is wrong. Expected 5, found 3. Created with MySQL 50610, now running 50709. Please use mysql_upgrade to fix this error.
2015-10-22T09:59:13.141899Z 0 [ERROR] Incorrect definition of table performance_schema.setup_objects: expected column 'OBJECT_TYPE' at position 0 to have type enum('EVENT','FUNCTION','PROCEDURE','TABLE','TRIGGER', found type enum('TABLE').
2015-10-22T09:59:13.141899Z 0 [ERROR] Column count of performance_schema.table_lock_waits_summary_by_table is wrong. Expected 68, found 73. Created with MySQL 50610, now running 50709. Please use mysql_upgrade to fix this error.
2015-10-22T09:59:13.141899Z 0 [ERROR] Column count of performance_schema.threads is wrong. Expected 17, found 14. Created with MySQL 50610, now running 50709. Please use mysql_upgrade to fix this error.
2015-10-22T09:59:13.141899Z 0 [ERROR] Column count of performance_schema.events_stages_current is wrong. Expected 12, found 10. Created with MySQL 50610, now running 50709. Please use mysql_upgrade to fix this error.
2015-10-22T09:59:13.141899Z 0 [ERROR] Column count of performance_schema.events_stages_history is wrong. Expected 12, found 10. Created with MySQL 50610, now running 50709. Please use mysql_upgrade to fix this error.
2015-10-22T09:59:13.141899Z 0 [ERROR] Column count of performance_schema.events_stages_history_long is wrong. Expected 12, found 10. Created with MySQL 50610, now running 50709. Please use mysql_upgrade to fix this error.