Installing MariaDB/MySQL system tables in '/data/data/com.termux/files/usr/var/lib/mysql' ...
2024-09-22 16:38:59 0 [ERROR] feedback plugin: failed to retrieve the MAC address
2024-09-22 16:38:59 0 [ERROR] InnoDB: File ./ib_logfile0 was not found
2024-09-22 16:38:59 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2024-09-22 16:39:00 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2024-09-22 16:39:00 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2024-09-22 16:39:00 0 [ERROR] Aborting
Installation of system tables failed! Examine the logs in
/data/data/com.termux/files/usr/var/lib/mysql for more information.
The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:
shell> /data/data/com.termux/files/usr/bin/mariadb-install-db --defaults-file=~/.my.cnf
You can also try to start the mariadbd daemon with:
shell> /data/data/com.termux/files/usr/bin/mariadbd --skip-grant-tables --general-log &
and use the command line tool /data/data/com.termux/files/usr/bin/mariadb
to connect to the mysql database and look at the grant tables:
shell> /data/data/com.termux/files/usr/bin/mariadb -u root mysql
MariaDB> show tables;
Try '/data/data/com.termux/files/usr/bin/mariadbd --help' if you have problems with paths. Using
--general-log gives you a log in /data/data/com.termux/files/usr/var/lib/mysql that may be helpful.
The latest information about mariadb-install-db is available at
Using mariadb-install-db to create the system tables in the 'mysql' database directory.
mariadb.com
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
https://mariadb.org/jira