• Home
  • Download
  • Links
  • Photoplog
  • Blowfish Secret
  • Base64
  • Wordpress Salt
  • Contact
  • ROM
  • Skins
  • VIP
  • Tutorial
Wckediden - Mobile Tricks and Tweaks Community  

Go Back   Wckediden - Mobile Tricks and Tweaks Community > Community Software > Webmaster Software (Windows System Only 64bit) > MySql Software
Reload this Page [INFO] Table mysql.innodb_index_stats doesnt exist in engine
Wckediden
Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Notices
Under Construction

WckedIDen Forum Renovations

WckedIDen is currently undergoing forum structure renovations. During this process, you may experience intermittent errors, unavailable pages, or temporary service interruptions.

Please be patient while we work to improve the forum. We appreciate your understanding and continued support.


Community Links
Social Groups
Pictures & Albums
Members List
Meet Our Staff
Search Forums
 
Tag Search
Advanced Search
Search Downloads
Advanced Search
Search Links
Advanced Search
Find All Thanked Posts



Post New ThreadReply
 
Thread Tools Search this Thread
  #1  
Old 07-13-2024, 01:37 AM
wcked's Avatar
wcked wcked is online now   Thread Starter  
Supporter/Designer
Mobile Model: Google Pixel 10 Pro
Mobile Carrier: Metro PCS
Mobile OS: Android

  usa
 
Join Date: November 8th, 2005
Location: North Philadelphia
Posts: 10,398
Downloads: 18
Uploads: 181
wcked has disabled reputation


View wcked's Profile   Edit Options Edit Profile Picture View wcked's Photo Album Add wcked's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Default Table mysql.innodb_index_stats doesnt exist in engine

Symptoms
  • Plesk update fails due to the corrupted InnoDB table(s): mysql.innodb_index_stats, mysql.innodb_table_stats, mysql.transaction_registry:

    Error : Table 'mysql.innodb_index_stats' doesn't exist in engine
    Error : Table 'mysql.innodb_table_stats' doesn't exist in engine
    Error : Table 'mysql.transaction_registry' doesn't exist in engine
  • One of the errors above also appears on attempt to create a database dump of the mysql database.
Cause

Corrupted InnoDB tables in the mysql database. Resolution

[COLOR=#000!important]For Plesk on Linux[/COLOR]
  1. Connect to the Plesk server via SSH.
  2. Create a temporary backup directory:
    # mkdir -p /root/backup_folder/
  3. Stop the MySQL/MariaDB service:
    # service mariadb stop
  4. Move the .frm and .ibd files of the corrupted table(s) that was mentioned in the error message:
    # mv /var/lib/mysql/mysql/innodb_index_stats* /root/backup_folder/
    # mv /var/lib/mysql/mysql/innodb_table_stats* /root/backup_folder/
    # mv /var/lib/mysql/mysql/transaction_registry* /root/backup_folder/
  5. Start the MySQL/MariaDB service:
    # service mariadb start
  6. Access the Plesk database:
    # plesk db
  7. Switch to the MySQL/MariaDB database:
    MariaDB [psa]> use mysql;
  8. Remove the table(s) from the mysql database (if exists):
    MariaDB [mysql]> drop table innodb_index_stats;
    MariaDB [mysql]> drop table innodb_table_stats;
    MariaDB [mysql]> drop table transaction_registry;
  9. Recreate the table:
    • innodb_index_stats
      MariaDB [mysql]> CREATE TABLE `innodb_index_stats` (
      `database_name` varchar(64) NOT NULL,
      `table_name` varchar(199) NOT NULL,
      `index_name` varchar(64) NOT NULL,
      `last_update` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
      `stat_name` varchar(64) NOT NULL,
      `stat_value` bigint(20) unsigned NOT NULL,
      `sample_size` bigint(20) unsigned DEFAULT NULL,
      `stat_description` varchar(1024) NOT NULL,
      PRIMARY KEY (`database_name`,`table_name`,`index_name`,`stat_n ame`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin STATS_PERSISTENT=0;
    • innodb_table_stats
      MariaDB [mysql]> CREATE TABLE `innodb_table_stats` (
      `database_name` varchar(64) NOT NULL,
      `table_name` varchar(199) NOT NULL,
      `last_update` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
      `n_rows` bigint(20) unsigned NOT NULL,
      `clustered_index_size` bigint(20) unsigned NOT NULL,
      `sum_of_other_index_sizes` bigint(20) unsigned NOT NULL,
      PRIMARY KEY (`database_name`,`table_name`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin STATS_PERSISTENT=0;
    • transaction_registry
      MariaDB [mysql]> CREATE TABLE `transaction_registry` (
      `transaction_id` bigint(20) unsigned NOT NULL,
      `commit_id` bigint(20) unsigned NOT NULL,
      `begin_timestamp` timestamp(6) NOT NULL DEFAULT '0000-00-00 00:00:00.000000',
      `commit_timestamp` timestamp(6) NOT NULL DEFAULT '0000-00-00 00:00:00.000000',
      `isolation_level` enum('READ-UNCOMMITTED','READ-COMMITTED','REPEATABLE-READ','SERIALIZABLE') NOT NULL,
      PRIMARY KEY (`transaction_id`),
      UNIQUE KEY `commit_id` (`commit_id`),
      KEY `begin_timestamp` (`begin_timestamp`),
      KEY `commit_timestamp` (`commit_timestamp`,`transaction_id`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin STATS_PERSISTENT=0;
  10. Exit MySQL/MariaDB:
    MariaDB [mysql]> exit
  11. Restart the MySQL/MariaDB service:
    # service mariadb restart
  12. Update Plesk.
  13. Remove the temporary backup directory:
    # rm -f /root/backup_folder/
Attached Files

You can't view or download attachments from this post before you thank it.Click Here for more information.


Reply With Quote
wcked
View Public Profile
Visit wcked's homepage!
Find all posts by wcked
Post New ThreadReply

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Snapdragon 8 Gen 4 doesn’t exist, so why is it on this phone box? phillynews215 Digital Scoop 0 10-31-2024 05:03 AM
[NEWS] ARTICLE: A peek under the hood of a phone that doesnt exist yet? (iPhone 4 phillynews215 Bulletin News 1 11-03-2009 11:16 PM
[NEWS] ARTICLE: A peek under the hood of a phone that doesnt exist yet? (iPhone 4 phillynews215 Bulletin News 0 11-03-2009 11:10 PM
[NEWS] ARTICLE: A peek under the hood of a phone that doesnt exist yet? (iPhone 4 phillynews215 Bulletin News 0 11-03-2009 05:00 PM
Maybe this already exist Invictus357 Society Cell Talk 1 11-04-2008 06:58 PM


All times are GMT -4. The time now is 09:37 AM.

Wckediden Community - Archive - Privacy Statement - Terms of Service - Top


Powered by vBulletin® Version 3.8.14
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Template-Modifications by TMS
POWERED BY PHILLYFINESTSERVERSTAT FOR WCKEDIDEN|- NEXTELELITE| - PPCTHEME| - IDENINSIDER