// 数据库类型
'type' => 'Mariadb',//Mariadb
// 服务器地址
'hostname' => '127.0.0.1',
// 数据库名
'databa
se' => 'db_test',
// 用户名
'username' => 'root',
// 密码
'password' => '',
// 端口
'hostport' => '3307',
// 连接dsn
'dsn' => '',
// 数据库连接参数
'params' => [],
我这样连接,提示could not find driver