swoole-framwork/app/config/db.php

25 lines
632 B
PHP
Raw Normal View History

2024-05-20 11:51:07 +08:00
<?php
2024-05-21 14:33:56 +08:00
2024-05-20 11:51:07 +08:00
return [
'default' => [
2024-05-21 14:33:56 +08:00
'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' => '',
],
2024-05-20 11:51:07 +08:00
];