|
@@ -59,7 +59,7 @@ class Install extends Command
|
|
|
|
|
|
|
|
// 连接install命令中指定的数据库
|
|
// 连接install命令中指定的数据库
|
|
|
$instance = Db::connect([
|
|
$instance = Db::connect([
|
|
|
- 'type' => 'mysql',
|
|
|
|
|
|
|
+ 'type' => "{$config['type']}",
|
|
|
'hostname' => "{$hostname}",
|
|
'hostname' => "{$hostname}",
|
|
|
'hostport' => "{$hostport}",
|
|
'hostport' => "{$hostport}",
|
|
|
'database' => "{$database}",
|
|
'database' => "{$database}",
|