Failed upgrade 5.5 to 10.3

Hi - I upgraded from mysql 5.1 to MariaDB 5.5 That went perfectly fine.

I then tried upgrading from 5.5 to 10, and the install went okay but the database refuses to start. I tried various paths (mysql 5.1-mysql5.5-mariadb5.5-maria10) but the result is always the same:

Obviously the problem is '2018-10-14 19:45:57 0 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found.' from the log below

BUT - if I create this file in mariadb5.5 it then complains about the structure.

Is the a 5.5 compatible version of this table of this table that will work with 10.3?

<log> 2018-10-14 19:45:57 0 [Note] InnoDB: New log files created, LSN=3454638526081 2018-10-14 19:45:57 0 [Note] InnoDB: Creating tablespace and datafile system tables. 2018-10-14 19:45:57 0 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found. 2018-10-14 19:45:57 0x7fd641f657e0 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.10/storage/innobase/pars/ line 818 InnoDB: Failing assertion: sym_node->table != NULL InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: InnoDB: about forcing recovery. 181014 19:45:57 [ERROR] mysqld got signal 6 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware.

To report this bug, see

We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail.

Server version: 10.3.10-MariaDB-log key_buffer_size=33554432 read_buffer_size=2097152 max_used_connections=0 max_threads=2502 thread_count=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 25709168 K bytes of memory Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... stack_bottom = 0x0 thread_stack 0x30000 /usr/sbin/mysqld(my_print_stacktrace+0x2b)[0x55d6f488d5db] /usr/sbin/mysqld(handle_fatal_signal+0x537)[0x55d6f4378347] /lib64/[0x7fd641b507e0] /lib64/[0x7fd6401aa4f5] /lib64/[0x7fd6401abcd5] ut/[0x55d6f40e5b99] pars/[0x55d6f45a4238] innobase/pars0grm.y:438(yyparse())[0x55d6f477320a] pars/*, char const*))[0x55d6f45a562d] que/*, char const*, unsigned long, trx_t*))[0x55d6f45a987e] row/ const*, trx_t*, enum_sql_command, bool, bool))[0x55d6f45e0d25] row/[0x55d6f45e30e3] log/[0x55d6f456cb8e] srv/[0x55d6f461eb1a] handler/[0x55d6f4523760] sql/*))[0x55d6f437ac78] sql/[0x55d6f41cf531] sql/*, char, int))[0x55d6f41d04ca] sql/[0x55d6f410c8dd] sql/, char))[0x55d6f4110103] /lib64/[0x7fd640196d20] /usr/sbin/mysqld(+0x544859)[0x55d6f4104859] The manual page at contains information that should help you find out what is causing the crash.

Answer Answered by Ian Gilfillan in this comment.


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.