config/mysql: create database by default, use swaf user with password swaf by default, don't create database in production
This commit is contained in:
parent
8ae520aa07
commit
b59e053cad
@ -37,10 +37,10 @@
|
||||
mysql: {
|
||||
connectionLimit: 10,
|
||||
host: "127.0.0.1",
|
||||
user: "root",
|
||||
password: "",
|
||||
user: "swaf",
|
||||
password: "swaf",
|
||||
database: "swaf",
|
||||
create_database_automatically: false,
|
||||
create_database_automatically: true,
|
||||
},
|
||||
redis: {
|
||||
host: "127.0.0.1",
|
||||
|
@ -16,6 +16,9 @@
|
||||
secure: true,
|
||||
allow_invalid_tls: false,
|
||||
},
|
||||
mysql: {
|
||||
create_database_automatically: false,
|
||||
},
|
||||
session: {
|
||||
cookie: {
|
||||
secure: true,
|
||||
|
@ -3,9 +3,6 @@
|
||||
approval_mode: true,
|
||||
},
|
||||
mysql: {
|
||||
host: "127.0.0.1",
|
||||
user: "root",
|
||||
password: "",
|
||||
database: "swaf_test",
|
||||
create_database_automatically: true,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user