swoole-framwork/app/config/db.php
2024-05-21 14:33:56 +08:00

25 lines
632 B
PHP

<?php
return [
'default' => [
'driver' => 'mysql',
'host' => '127.0.0.1',
'database' => 'saiadmin',
'username' => 'root',
'password' => '123456',
'port' => 3306,
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_general_ci',
'prefix' => 'eb_',
],
'db2' => [
'driver' => 'mysql',
'host' => '127.0.0.1',
'database' => 'test',
'username' => 'root',
'password' => 'root',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
],
];