Problem with installing mariadb server

Dear Sir,

There is a problem during installation of mariadb server with command:
opkg install mariadb. Script is exiting with code:

Collected errors:
 * pkg_run_script: package "mariadb-setupdb" postinst script returned status 1.
 * opkg_configure: mariadb-setupdb.postinst returned 1.

Below you can find a log from systemctl status install_db.service command

systemctl status install_db.service
��● install_db.service - Install MySQL Community Server Database
   Loaded: loaded (/lib/systemd/system/install_db.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2016-08-30 09:03:35 UTC; 50s ago
  Process: 11529 ExecStart=/usr/bin/mysql-systemd-start pre (code=exited, status=1/FAILURE)
 Main PID: 11529 (code=exited, status=1/FAILURE)

Aug 30 09:03:35 apalis-t30 systemd[1]: Starting Install MySQL Community Server Database...
Aug 30 09:03:35 apalis-t30 mysql-systemd-start[11529]: /usr/bin/mysql-systemd-start: line 23: install: command not found
Aug 30 09:03:35 apalis-t30 systemd[1]: install_db.service: Main process exited, code=exited, status=1/FAILURE
Aug 30 09:03:35 apalis-t30 systemd[1]: Failed to start Install MySQL Community Server Database.
Aug 30 09:03:35 apalis-t30 systemd[1]: install_db.service: Unit entered failed state.
Aug 30 09:03:35 apalis-t30 systemd[1]: install_db.service: Failed with result 'exit-code'.

Just to mention, that after running a command:

mysql_install_db --user=mysql --ldata=/var/lib/mysql/
mysqld_safe&

Mysql starts working correctly.

Best regards,
Kamil

Hi

Looks like you would need to additionally install install.

Aug 30 09:03:35 apalis-t30 mysql-systemd-start[11529]: /usr/bin/mysql-systemd-start: line 23: install: command not found

Unfortunately the coreutils package which provides install is not available from the feed server. You could setup your own openembedded build and modify it to include mysql and coreutils or you could try to install the coreutils from the following file: coreutils ipk

Max