test-php-rest-api-user/config/0001.db.php

14 lines
274 B
PHP
Raw Normal View History

2024-08-10 00:30:13 +08:00
<?php
$config['db'] = [
'main' => [
'driver' => 'mysql',
'user' => 'root',
'password' => '',
'name' => 'user-rest-api',
'host' => '127.0.0.1',
'port' => 3306,
'charset' => 'utf8',
'options' => [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
]
];