diff --git a/plugins/mariadb/process-compose.yaml b/plugins/mariadb/process-compose.yaml index 674ee04a28b..a496d848867 100644 --- a/plugins/mariadb/process-compose.yaml +++ b/plugins/mariadb/process-compose.yaml @@ -2,7 +2,7 @@ version: "0.5" processes: mariadb: - command: "echo 'Starting mysqld... check mariadb_logs for details'; mariadbd --log-error=$MYSQL_HOME/mysql.log" + command: "echo 'Starting mariadbd... check mariadb_logs for details'; mariadbd --log-error=$MYSQL_HOME/mysql.log" is_daemon: false shutdown: command: "mariadb-admin -u root shutdown" diff --git a/plugins/mariadb/setup_db.sh b/plugins/mariadb/setup_db.sh index 3116d2744cb..b2a8b6fa595 100644 --- a/plugins/mariadb/setup_db.sh +++ b/plugins/mariadb/setup_db.sh @@ -2,11 +2,11 @@ if [ ! -d "$MYSQL_DATADIR" ]; then # Install the Database - mysql_install_db --auth-root-authentication-method=normal \ + mariadb-install-db --auth-root-authentication-method=normal \ --datadir=$MYSQL_DATADIR --basedir=$MYSQL_BASEDIR \ --pid-file=$MYSQL_PID_FILE fi if [ -e "$MYSQL_CONF" ]; then ln -fs "$MYSQL_CONF" "$MYSQL_HOME/my.cnf" -fi \ No newline at end of file +fi