This repository was archived by the owner on Sep 21, 2022. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 106
 
    This repository was archived by the owner on Sep 21, 2022. It is now read-only.
  
  
howto restore "mysql" database (MyISAM) with enforce_storage_engine = InnoDB? InnoDB: Error: trying to create a MySQL system table mysql/db of type InnoDB. InnoDB: MySQL system tables must be of the MyISAM type! #192
Copy link
Copy link
Open
Labels
Description
Hello
we make backup with Shield (mysqldump plugin).
I can't restore the "mysql" database. I can't create "MyISAM" tables.
mysql --show-warnings -u root -p -h xxx < 2017-11-08-020000-2f081d14-90c9-451a-a260-b7135a7e2816.out --protocol=tcp -f                     [18/3472]
ERROR 1005 (HY000) at line 5720: Can't create table `mysql`.`db` (errno: -1 "Internal error < 0 (Not system error)")
Error (Code 1005): Can't create table `mysql`.`db` (errno: -1 "Internal error < 0 (Not system error)")
Warning (Code 1030): Got error -1 "Internal error < 0 (Not system error)" from storage engine InnoDB
ERROR 1146 (42S02) at line 5752: Table 'mysql.db' doesn't exist
ERROR 1146 (42S02) at line 5753: Table 'mysql.db' doesn't exist
ERROR 1146 (42S02) at line 5754: Table 'mysql.db' doesn't exist
ERROR 1146 (42S02) at line 5755: Table 'mysql.db' doesn't exist
ERROR 1005 (HY000) at line 5963: Can't create table `mysql`.`host` (errno: -1 "Internal error < 0 (Not system error)")
Error (Code 1005): Can't create table `mysql`.`host` (errno: -1 "Internal error < 0 (Not system error)")
Warning (Code 1030): Got error -1 "Internal error < 0 (Not system error)" from storage engine InnoDB
ERROR 1146 (42S02) at line 5992: Table 'mysql.host' doesn't exist
ERROR 1146 (42S02) at line 5993: Table 'mysql.host' doesn't exist
ERROR 1146 (42S02) at line 5994: Table 'mysql.host' doesn't exist
ERROR 1005 (HY000) at line 6439: Can't create table `mysql`.`user` (errno: -1 "Internal error < 0 (Not system error)")
Error (Code 1005): Can't create table `mysql`.`user` (errno: -1 "Internal error < 0 (Not system error)")
Warning (Code 1030): Got error -1 "Internal error < 0 (Not system error)" from storage engine InnoDB
ERROR 1146 (42S02) at line 6494: Table 'mysql.user' doesn't exist
ERROR 1146 (42S02) at line 6495: Table 'mysql.user' doesn't exist
ERROR 1146 (42S02) at line 6496: Table 'mysql.user' doesn't exist
ERROR 1146 (42S02) at line 6497: Table 'mysql.user' doesn't exist
ERROR 1146 (42S02) at line 6507: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 6526: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 6797: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 14231: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 14276: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 14308: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 14343: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 15301: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 15336: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
ERROR 1146 (42S02) at line 16275: Table 'mysql.user' doesn't exist
Error (Code 1146): Table 'mysql.user' doesn't exist
Warning (Code 1405): Failed to revoke all privileges to dropped routine
(...)
How to restore "mysql" database with service broker created credentials? Enforce InnoDB is hardcoded, can't temp disable that
| enforce_storage_engine = InnoDB | 
Thank you
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Inbox