Installing MariaDB/MySQL system tables in '/mnt/data/mysql' ...
|
2022-03-23 15:46:31 2013113988 [Note] Using unique option prefix 'key_buffer' is error-prone and can break in the future. Please use the full name 'key_buffer_size' instead.
|
2022-03-23 15:46:32 2013113988 [ERROR] mysqld: Can't create/write to file '/tmp/ibXXXXXX' (Errcode: 13 "Permission denied")
|
2022-03-23 15:46:32 2013113988 [ERROR] InnoDB: Unable to create temporary file; errno: 13
|
2022-03-23 15:46:32 2013113988 [ERROR] mysqld: Can't create/write to file '/tmp/ibXXXXXX' (Errcode: 13 "Permission denied")
|
2022-03-23 15:46:32 2013113988 [ERROR] InnoDB: Unable to create temporary file; errno: 13
|
2022-03-23 15:46:32 2013113988 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
|
2022-03-23 15:46:32 2013113988 [ERROR] Plugin 'InnoDB' init function returned error.
|
2022-03-23 15:46:32 2013113988 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
|
2022-03-23 15:46:32 2013113988 [ERROR] mysqld: Can't create/write to file '/mnt/data/mysql/aria_log_control' (Errcode: 13 "Permission denied")
|
2022-03-23 15:46:32 2013113988 [ERROR] mysqld: Got error 'Can't create file' when trying to use aria control file '/mnt/data/mysql/aria_log_control'
|
2022-03-23 15:46:32 2013113988 [ERROR] Plugin 'Aria' init function returned error.
|
2022-03-23 15:46:32 2013113988 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
|
2022-03-23 15:46:32 2013113988 [ERROR] Unknown/unsupported storage engine: InnoDB
|
2022-03-23 15:46:32 2013113988 [ERROR] Aborting
|
|
Warning: Memory not freed: 392
|
|
Installation of system tables failed! Examine the logs in
|
/mnt/data/mysql for more information.
|
|
The problem could be conflicting information in an external
|
my.cnf files. You can ignore these by doing:
|
|
shell> /usr/bin/mysql_install_db --defaults-file=~/.my.cnf
|
|
You can also try to start the mysqld daemon with:
|
|
shell> /usr/bin/mysqld --skip-grant-tables --general-log &
|
|
and use the command line tool /usr/bin/mysql
|
to connect to the mysql database and look at the grant tables:
|
|
shell> /usr/bin/mysql -u root mysql
|
mysql> show tables;
|
|
Try 'mysqld --help' if you have problems with paths. Using
|
--general-log gives you a log in /mnt/data/mysql that may be helpful.
|
|
The latest information about mysql_install_db is available at
|
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
|
You can find the latest source at https://downloads.mariadb.org and
|
the maria-discuss email list at https://launchpad.net/~maria-discuss
|
|
Please check all of the above before submitting a bug report
|
at http://mariadb.org/jira
|