安装运行mariadb时错误:gtid_slave_pos

时间:2024-07-09 13:37:56

精简windows zip包后出现错误:

Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.gtid_slave_pos' doesn't exist in engine

InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB though the .frm file for the table exists.

只需要把 data/ibdata1 这个文件复制回去就可以了。

再者出现:(不影响使用)

InnoDB: New log files created

只需要把 data/ib_logfile0,data/ib_logfile1文件复制回去。