goview_php/plugin/admin/config/database.php

19 lines
582 B
PHP
Raw Normal View History

2023-06-06 10:47:49 +08:00
<?php
return [
'default' => 'mysql',
'connections' => [
'mysql' => [
'driver' => 'mysql',
2023-06-06 12:41:05 +08:00
'host' => getenv('DB_HOST'),
'port' => getenv('DB_PORT'),
'database' => getenv('DB_NAME'),
'username' => getenv('DB_USER'),
'password' => getenv('DB_PASSWORD'),
2023-06-06 10:47:49 +08:00
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_general_ci',
2023-06-06 12:50:03 +08:00
'prefix' => '',
2023-06-06 10:47:49 +08:00
'strict' => true,
'engine' => null,
],
],
];