$ d=build-mariadb-server-11.0-datadir; rm -rf $d; mkdir $d; tar -C $d -xf m57.tar.bz2
|
|
$ sql/mariadbd --no-defaults --skip-networking --datadir=/tmp/${PWD##*/}-datadir --socket=/tmp/${PWD##*/}.sock --plugin-dir=${PWD}/mysql-test/var/plugins/ --verbose &
|
[1] 239736
|
|
~/repos/build-mariadb-server-11.0
|
$ 2023-02-24 12:21:41 0 [Note] Starting MariaDB 11.0.2-MariaDB source revision b4ef9f766db28d258621aa888fdffd168321e3ba as process 239736
|
2023-02-24 12:21:41 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
|
2023-02-24 12:21:41 0 [Note] InnoDB: Number of transaction pools: 1
|
2023-02-24 12:21:41 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
|
2023-02-24 12:21:41 0 [Note] InnoDB: Using liburing
|
2023-02-24 12:21:41 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
|
2023-02-24 12:21:41 0 [Note] InnoDB: Completed initialization of buffer pool
|
2023-02-24 12:21:41 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
|
2023-02-24 12:21:41 0 [Note] InnoDB: Upgrading redo log: 96.000MiB; LSN=2762352
|
2023-02-24 12:21:41 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
|
2023-02-24 12:21:41 0 [Note] InnoDB: Upgrading the change buffer
|
2023-02-24 12:21:41 0 [Note] InnoDB: Upgraded the change buffer: 0 tablespaces, 0 pages
|
2023-02-24 12:21:41 0 [Note] InnoDB: Reinitializing innodb_undo_tablespaces= 3 from 0
|
2023-02-24 12:21:41 0 [Note] InnoDB: Setting O_DIRECT on file .//undo001 failed
|
2023-02-24 12:21:41 0 [Note] InnoDB: Data file .//undo001 did not exist: new to be created
|
2023-02-24 12:21:41 0 [Note] InnoDB: Setting file .//undo001 size to 10.000MiB
|
2023-02-24 12:21:41 0 [Note] InnoDB: Database physically writes the file full: wait...
|
2023-02-24 12:21:41 0 [Note] InnoDB: Data file .//undo002 did not exist: new to be created
|
2023-02-24 12:21:41 0 [Note] InnoDB: Setting file .//undo002 size to 10.000MiB
|
2023-02-24 12:21:41 0 [Note] InnoDB: Database physically writes the file full: wait...
|
2023-02-24 12:21:41 0 [Note] InnoDB: Data file .//undo003 did not exist: new to be created
|
2023-02-24 12:21:41 0 [Note] InnoDB: Setting file .//undo003 size to 10.000MiB
|
2023-02-24 12:21:41 0 [Note] InnoDB: Database physically writes the file full: wait...
|
2023-02-24 12:21:41 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
|
2023-02-24 12:21:41 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
|
2023-02-24 12:21:41 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
|
2023-02-24 12:21:41 0 [Note] InnoDB: log sequence number 2762352; transaction id 1794
|
2023-02-24 12:21:41 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2023-02-24 12:21:41 0 [Note] Plugin 'wsrep-provider' is disabled.
|
2023-02-24 12:21:41 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/build-mariadb-server-11.0-datadir/ib_buffer_pool
|
2023-02-24 12:21:41 0 [Note] InnoDB: Buffer pool(s) load completed at 230224 12:21:41
|
2023-02-24 12:21:41 0 [ERROR] Missing system table mysql.roles_mapping; please run mysql_upgrade to create it
|
2023-02-24 12:21:41 0 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(93).
|
2023-02-24 12:21:41 0 [ERROR] Incorrect definition of table mysql.event: expected column 'sql_mode' at position 14 to have type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','IGNORE_BAD_TABLE_OPTIONS','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH','EMPTY_STRING_IS_NULL','SIMULTANEOUS_ASSIGNMENT'), found type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_B
|
2023-02-24 12:21:41 0 [ERROR] mariadbd: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
|
2023-02-24 12:21:41 1 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
|
2023-02-24 12:21:41 0 [Note] sql/mariadbd: ready for connections.
|
Version: '11.0.2-MariaDB' socket: '/tmp/build-mariadb-server-11.0.sock' port: 0 Source distribution
|
killall mariadbd
|
2023-02-24 12:21:46 0 [Note] sql/mariadbd (initiated by: unknown): Normal shutdown
|
2023-02-24 12:21:46 0 [Note] InnoDB: FTS optimize thread exiting.
|
2023-02-24 12:21:46 0 [Note] InnoDB: Starting shutdown...
|
2023-02-24 12:21:46 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/build-mariadb-server-11.0-datadir/ib_buffer_pool
|
2023-02-24 12:21:46 0 [Note] InnoDB: Buffer pool(s) dump completed at 230224 12:21:46
|
|
# Note the killall mariadbd was on the promt
|
|
ql/mariadbd --no-defaults --skip-networking --datadir=/tmp/${PWD##*/}-datadir --socket=/tmp/${PWD##*/}.sock --plugin-dir=${PWD}/mysql-test/var/plugins/ --verbose & while [ ! -S /tmp/${PWD##*/}.sock ]; do sleep 0.05; done ; client/mariadb-dump --user root -pbob -S /tmp/${PWD##*/}.sock mysql > /dev/null
|
[2] 239807
|
2023-02-24 12:21:54 0 [Note] Starting MariaDB 11.0.2-MariaDB source revision b4ef9f766db28d258621aa888fdffd168321e3ba as process 239807
|
2023-02-24 12:21:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
|
2023-02-24 12:21:54 0 [Note] InnoDB: Number of transaction pools: 1
|
2023-02-24 12:21:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
|
2023-02-24 12:21:54 0 [Note] InnoDB: Using liburing
|
2023-02-24 12:21:54 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
|
2023-02-24 12:21:54 0 [Note] InnoDB: Completed initialization of buffer pool
|
2023-02-24 12:21:54 0 [Note] InnoDB: Resetting space id's in the doublewrite buffer
|
2023-02-24 12:21:54 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
|
2023-02-24 12:21:54 0 [Note] InnoDB: Opened 3 undo tablespaces
|
2023-02-24 12:21:54 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
|
2023-02-24 12:21:54 0 [Note] InnoDB: Setting O_DIRECT on file ./ibtmp1 failed
|
2023-02-24 12:21:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
|
2023-02-24 12:21:54 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
|
2023-02-24 12:21:54 0 [Note] InnoDB: log sequence number 2781972; transaction id 770
|
2023-02-24 12:21:54 0 [Note] Plugin 'FEEDBACK' is disabled.
|
2023-02-24 12:21:54 0 [Note] Plugin 'wsrep-provider' is disabled.
|
2023-02-24 12:21:54 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/build-mariadb-server-11.0-datadir/ib_buffer_pool
|
2023-02-24 12:21:54 0 [Note] InnoDB: Buffer pool(s) load completed at 230224 12:21:54
|
2023-02-24 12:21:54 0 [ERROR] Missing system table mysql.roles_mapping; please run mysql_upgrade to create it
|
2023-02-24 12:21:54 0 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(93).
|
2023-02-24 12:21:54 0 [ERROR] Incorrect definition of table mysql.event: expected column 'sql_mode' at position 14 to have type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','IGNORE_BAD_TABLE_OPTIONS','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH','EMPTY_STRING_IS_NULL','SIMULTANEOUS_ASSIGNMENT'), found type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_B
|
2023-02-24 12:21:54 0 [ERROR] mariadbd: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
|
2023-02-24 12:21:54 1 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
|
2023-02-24 12:21:54 0 [Note] sql/mariadbd: ready for connections.
|
Version: '11.0.2-MariaDB' socket: '/tmp/build-mariadb-server-11.0.sock' port: 0 Source distribution
|
[1] Done sql/mariadbd --no-defaults --skip-networking --datadir=/tmp/${PWD##*/}-datadir --socket=/tmp/${PWD##*/}.sock --plugin-dir=${PWD}/mysql-test/var/plugins/ --verbose
|
2023-02-24 12:21:54 3 [ERROR] InnoDB: Column last_update in table mysql.innodb_table_stats is BINARY(4) NOT NULL but should be INT UNSIGNED NOT NULL
|
2023-02-24 12:21:54 3 [ERROR] InnoDB: Fetch of persistent statistics requested for table `mysql`.`gtid_executed` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
|
2023-02-24 12:21:54 3 [Warning] InnoDB: A transaction id in a record of table `mysql`.`engine_cost` is newer than the system-wide maximum.
|
2023-02-24 12:21:54 3 [ERROR] InnoDB: We detected index corruption in an InnoDB type table. You have to dump + drop + reimport the table or, in a case of widespread corruption, dump all InnoDB tables and recreate the whole tablespace. If the mariadbd server crashes after the startup or when you dump the tables. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery.
|
2023-02-24 12:21:54 3 [ERROR] mariadbd: Index for table 'engine_cost' is corrupt; try to repair it
|
mariadb-dump: Error 1034: Index for table 'engine_cost' is corrupt; try to repair it when dumping table `engine_cost` at row: 0
|