mirror of
https://github.com/hassio-addons/addon-bookstack.git
synced 2025-05-06 20:21:27 +00:00
Fix MySQL commands (#354)
This commit is contained in:
parent
3232d7095e
commit
e20d1de507
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue