{% extends "layout.html" %} {% block body %}

{{ _('Database') }}

{% trans %} Zine uses a database to store blog posts and other information. The only information it requires therefore is a database URI. Depending on your database this URI looks different. Have a look at the following table for examples of database URIs. {% endtrans %}

{{ _('SQLite') }}
{{ _('sqlite://database.db') }} — {% trans %} The SQLite database path is either absolute (if it starts with three slashes on OS X / Linux or two slashes and a drive letter on a Windows system) or otherwise relative to the instance folder. {% endtrans %}
{{ _('MySQL') }}
{{ _('mysql://username:password@host/database_name') }}
{{ _('Postgres') }}
{{ _('postgres://username:password@host/database_name') }}
{% endblock %}