Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/mariadb/process-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions plugins/mariadb/setup_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
fi