Skip to content

Commit e20d1de

Browse files
authored
Fix MySQL commands (#354)
1 parent 3232d70 commit e20d1de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bookstack/rootfs/etc/cont-init.d/bookstack.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ else
4747
bashio::log.warning "Uninstalling the MariaDB addon will remove any data"
4848

4949
bashio::log.info "Creating database for Bookstack if required"
50-
mysql \
50+
mariadb \
5151
-u "${username}" -p"${password}" \
5252
-h "${host}" -P "${port}" \
53+
--skip-ssl \
5354
-e "CREATE DATABASE IF NOT EXISTS \`bookstack\` ;"
5455
fi
5556

0 commit comments

Comments
 (0)