mirror of
https://github.com/strapi/strapi.git
synced 2025-07-18 14:32:56 +00:00
14 lines
494 B
Plaintext
14 lines
494 B
Plaintext
module.exports = ({ env }) => ({
|
|
connection: {
|
|
client: 'mysql',
|
|
connection: {
|
|
host: env('DATABASE_HOST', '<%= connection.host %>'),
|
|
port: env.int('DATABASE_PORT', <%= connection.port %>),
|
|
database: env('DATABASE_NAME', '<%= connection.database %>'),
|
|
user: env('DATABASE_USERNAME', '<%= connection.username %>'),
|
|
password: env('DATABASE_PASSWORD', '<%= connection.password %>'),
|
|
ssl: env.bool('DATABASE_SSL', <%= connection.ssl %>),
|
|
},
|
|
},
|
|
});
|