Initialize database and database user on first launch if needed. Also an environmental to disable this should be present.
For example for MySQL/MariaDB it'd be:
CREATE USER '<USERNAME>'@'<ADDRESS>' IDENTIFIED BY '<PASSWORD>';
CREATE DATABASE IF NOT EXISTS <DATABASE_NAME> CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL PRIVILEGES on <DATABASE_NAME>.* to '<USERNAME>'@'<ADDRESS>';
FLUSH privileges;
The utf8mb4 COLLATE utf8mb4_unicode_ci helps with support for Japanese, Chinese etc. characters.
Initialize database and database user on first launch if needed. Also an environmental to disable this should be present.
For example for MySQL/MariaDB it'd be:
The
utf8mb4 COLLATE utf8mb4_unicode_ci
helps with support for Japanese, Chinese etc. characters.