diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..ae40cbd --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "todo-tree.tree.scanMode": "workspace" +} diff --git a/phpmyadmin/rootfs/etc/s6-overlay/s6-rc.d/init-phpmyadmin/run b/phpmyadmin/rootfs/etc/s6-overlay/s6-rc.d/init-phpmyadmin/run index ef98b85..f551fae 100755 --- a/phpmyadmin/rootfs/etc/s6-overlay/s6-rc.d/init-phpmyadmin/run +++ b/phpmyadmin/rootfs/etc/s6-overlay/s6-rc.d/init-phpmyadmin/run @@ -24,17 +24,19 @@ port=$(bashio::services "mysql" "port") username=$(bashio::services "mysql" "username") database=$(\ - mysql \ + mariadb \ -u "${username}" -p"${password}" \ -h "${host}" -P "${port}" \ --skip-column-names \ + --skip-ssl \ -e "SHOW DATABASES LIKE 'phpmyadmin';" ) if ! bashio::var.has_value "${database}"; then bashio::log.info "Creating database for phpMyAdmin" - mysql \ + mariadb \ -u "${username}" -p"${password}" \ -h "${host}" -P "${port}" \ + --skip-ssl \ < /var/www/phpmyadmin/sql/create_tables.sql fi