Skip to main content

check_mysql has determined that there are corrupted database tables

Comments

7 comments

  • cPanelMichael
    Hello :) Could you let us know the contents of your /etc/my.cnf file? Thank you.
    0
  • calamus
    [mysqld] max_allowed_packet=268435456 open_files_limit=10000 default-storage-engine=MyISAM innodb_file_per_table=1 default configuration
    0
  • calamus
    still corrupted mysql table this is the report sent via email from cpanel cPanel & WHM has determined that the following database tables are corrupt: Database Error mysql mysql.gtid_slave_pos Error : Table 'mysql.gtid_slave_pos' doesn't exist in engine mysql.innodb_index_stats Error : Table 'mysql.innodb_index_stats' doesn't exist in engine mysql.innodb_table_stats Error : Table 'mysql.innodb_table_stats' doesn't exist in engine mysql.slave_master_info Error : Table 'mysql.slave_master_info' doesn't exist in engine mysql.slave_relay_log_info Error : Table 'mysql.slave_relay_log_info' doesn't exist in engine mysql.slave_worker_info Error : Table 'mysql.slave_worker_info' doesn't exist in engine
    0
  • cPanelMichael
    Yes, you will continue to receive that email until the "mysql" database is repaired. Could you let us know of any error messages logged to /var/lib/mysql/$hostname.err when restarting MySQL? Also, have you recently upgraded to MariaDB? Does the "mysql_upgrade" command succeed? Thank you.
    0
  • calamus
    Yes, I upgrade to MariaDB afther the problem. below the log of error file
    160413 08:39:17 mysqld_safe mysqld from pid file /var/lib/mysql/srv10.example.com.pid ended 160413 08:39:18 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 2016-04-13 8:39:18 139668595525664 [Note] /usr/sbin/mysqld (mysqld 10.1.13-MariaDB) starting as process 14176 ... 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Using mutexes to ref count buffer pool pages 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: The InnoDB memory heap is disabled 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Memory barrier is not used 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Compressed tables use zlib 1.2.3 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Using Linux native AIO 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Using generic crc32 instructions 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Initializing buffer pool, size = 128.0M 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Completed initialization of buffer pool 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Highest supported file format is Barracuda. 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: 128 rollback segment(s) are active. 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Waiting for purge to start 2016-04-13 8:39:19 139668595525664 [Note] InnoDB: Percona XtraDB (Experts in Database Performance Management) 5.6.28-76.1 started; log sequence number 42838$ 2016-04-13 8:39:19 139668595525664 [Note] Plugin 'FEEDBACK' is disabled. 2016-04-13 8:39:19 139667861141248 [Note] InnoDB: Dumping buffer pool(s) not yet started 2016-04-13 8:39:19 139668595525664 [Note] Server socket created on IP: '::'. 2016-04-13 8:39:19 139668594559744 [Warning] InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB t$ 2016-04-13 8:39:19 139668594559744 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.g$ 2016-04-13 8:39:19 139668595525664 [Note] /usr/sbin/mysqld: ready for connections. Version: '10.1.13-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
    0
  • calamus
    and this is the prompt of mysql restart:
    Service Status mysql (/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/srv10.example.com.err --open-files-limit=10000 --pid-file=/var/lib/mysql/srv10.example.com.pid) is running as mysql with PID 14176 (pidfile check method). Startup Log Starting MySQL.. SUCCESS! Log Messages 2016-04-13 8:39:19 139668595525664 [Note] /usr/sbin/mysqld: ready for connections. 160413 08:39:18 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 160413 08:39:17 mysqld_safe mysqld from pid file /var/lib/mysql/srv10.example.com.pid ended
    0
  • cPanelMichael
    -04-13 8:39:19 139668594559744 [Warning] InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB t$

    The following thread is offered for users with InnoDB corruption: InnoDB Corruption Repair Guide Please review this thread to determine if any of the steps offered are helpful. Thank you.
    0

Please sign in to leave a comment.