Skip to content

Commit

Permalink
Fix MySQL commands
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Dec 7, 2024
1 parent 3232d70 commit f042a7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bookstack/rootfs/etc/cont-init.d/bookstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ else
bashio::log.warning "Uninstalling the MariaDB addon will remove any data"

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

Expand Down

0 comments on commit f042a7b

Please sign in to comment.