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

14 lines
274 B
PHP

<?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]
]
];