Database Support

مدیریت کاربران از پیش ساخته شده شما

مطالب پیش رو برای زبان فارسی تهیه نشده است.

Fireback is written based on the GORM library, so it can support connecting out of the box to the following database.

You have to update the config.yml or create one if you do not have. Read "Yaml Config" article for more details.

Mysql

Connecting to mysql is done by providing normal credentials, and database name.

database:
  vendor: mysql
  database: mydb
  username: root
  password: root
  host: localhost
  port: 3306

Sqlite

SQLite is a file based database system, and you just need to specifiy the path of the file, and Vendor to sqlite

In your config.yml

database:
  vendor: sqlite
  database: /tmp/fireback.db

Strongly recommend to put the database in a safe place, and get backup regularly.

Other databases

PostgreSQL, SQL Server and Clickhouse may also be supported, we did not test it yet.