Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/docs/how-to/firefly-iii/installation/self-managed.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ Make sure you configure at least the database. For SQLite, you must drop all the

This step is very important, because Firefly III needs a database to work with, and it will tell you whether your configuration is correct.

#### SQLite

If you decide to use SQLite, make sure you run the following command to create the SQLite database file.

```bash
Expand All @@ -129,6 +131,20 @@ cd /var/www/firefly-iii
touch ./storage/database/database.sqlite
```

#### MariaDB

Install Mariadb, create a user and a database for Firefly-III, and grant all privileges to that new user for this database
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Firefly III"


Example-setup for a locally installed MariaDB database on the same server as the webserver where Firefly App resides in.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"where Firefly III resides" (I believe "in" isnot necessary in this context.


```bash
CREATE USER firefly3@localhost IDENTIFIED BY 'firefly3';
create database firefly3;
grant all privileges on firefly3.* to 'firefly3'@'localhost';
```

#### General

Either way, in all cases, run these commands to initialize the database:

```bash
Expand Down