{% extends "base.html" %} {% block content %} {% include 'includes/confirm_modal.html' %}
Database connection
Enter the database host, name, user, and password for IMPS to use.
If you just walked through the MariaDB install steps using the
defaults in setup.sql, that's host 127.0.0.1,
database box_db, user box_user, password
box_pass (change that password on a real install).
Don't have a database yet? See the MariaDB install steps.
{% if conn_ok is not none %}{{ error_detail }}
{% endif %} {% if existing_tables_found and tables_ok is none %}This database already has IMPS tables in it -- possibly from a previous install. What would you like to do?
Connection works and tables are ready.
{% elif conn_ok and not tables_ok %}Connected, but IMPS couldn't create its tables with this user --
likely a permissions issue. If you used an older copy of
setup.sql, re-run it as root, or grant
CREATE, DROP, ALTER, INDEX on this database to this user
directly, then try again.
Couldn't connect with these settings. Double check the host, name,
user, and password, and that the database server is running
(sudo systemctl status mariadb).