Skip to content
This repository was archived by the owner on Jun 12, 2018. It is now read-only.

Databases

Mr. Piggy edited this page Apr 22, 2017 · 5 revisions

SQLite3

SQLite3 is the default provider in PiggyAuth, and does not require any setup.
However, if the .db file is not created in PiggyAuth's folder:
Windows: Make sure you have the php_sqlite3.dll file in your bin folder
Linux: Make sure you have the php7.0-sqlite3 package installed.

MySQL

To enable MySQL, set database: sqlite3 to database: mysql, and edit these lines below to match your MySQL Server's information. MySQL can be used to link accounts with another server together with yours, given that the other server is using the same MySQL server as you.

mysql:
  host: host
  user: user
  name: name
  password: password
  port: 3306

Clone this wiki locally