<?php

use function DI\env;

return [
    // 默认数据库
    'default' => 'mysql',
    // 各种数据库配置
    'connections' => [
   
        'mysql' => [
            'driver'      => 'mysql',
            'host'        => env('DB_HOST'),
            'port'        => 3306,
            'database'    => env('DB_DATABASE'),
            'username'    => env('DB_USERNAME'),
            'password'    => env('DB_PASSWORD'),
            'unix_socket' => '',
            'prefix'      => 'la_',
            'strict'      => true,
            'engine'      => null,
        ],
    ],
   ];