Skip to main content
NearBeach Logo

Minor breaking change for 0.30.6 release

Original Issue

Only supported databases were MySQL, and MariaDB. We wanted to support the same databases that Django supports.

Issue Fix

To fix this we've had to insert a few new fields and rename the existing ones to be more generic. This is the breaking change.

Solution

New environmental variable names will break your NB installs. Please update the following variables;

  • MYSQL_DATABASE to DB_DATABASE
  • MYSQL_USER to DB_USER
  • MYSQL_PASSWORD to DB_PASSWORD
  • MYSQL_HOST to DB_HOST

Also include the following environmental variables

  • DB_ENGINE=mysql
  • DB_PORT=3306

These changes will help with the ability for us to support;

  • MySQL
  • MariaDB
  • Oracle
  • PostgreSQL

To use other databases - change the DB_ENGINE to the lowercase version name of that database, i.e. DB_ENGINE=postgresql