Hello,
During reproducing this situation we have the same crash of mariadb service on starting. In /var/log/mysql/error.log exists next errors:
Code:
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: The InnoDB memory heap is disabled
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: Using Linux native AIO
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: Using SSE crc32 instructions
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: Completed initialization of buffer pool
2016-10-13 10:17:23 140224936802560 [Note] InnoDB: Highest supported file format is Barracuda.
InnoDB: No valid checkpoint found.
InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later,
InnoDB: please refer to http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html
InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: If that is the case, please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html
2016-10-13 10:17:23 140224936802560 [ERROR] Plugin 'InnoDB' init function returned error.
2016-10-13 10:17:23 140224936802560 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-10-13 10:17:23 140224936802560 [Note] Plugin 'FEEDBACK' is disabled.
2016-10-13 10:17:23 140224936802560 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
2016-10-13 10:17:23 140224936802560 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-10-13 10:17:23 140224936802560 [ERROR] Aborting
Most likely in your logs - the same error.
At the current moment the situation is such that upgrade from mysql-5.7 to mariadb-10.1 can only be done with help of
command (checked on our test environment). In other words - you need to remove all previous tables
(this should be done before and commands), and restore them after upgrade will be finished. Incompatibility issues may be arise during restoring operation - so these steps - at your own risk.
Besides, after upgrade you will likely encounter the problem of invalid mariadb users, so you have to be ready to solve them.