<?php

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'sqlite:/etc/vmpanel/vmpanel.db',
//    'dsn' => 'mysql:host=localhost;dbname=vmpanel',
//    'username' => 'vmpanel',
//    'password' => 'cvSvBGUvKRdECtfN',
    'charset' => 'utf8',
];

<?php

return [
    'class' => 'yii\db\Connection',
//    'dsn' => 'sqlite:/etc/vmpanel/vmpanel.db',
    'dsn' => 'mysql:host=localhost;dbname=vmpanel',
    'username' => 'vmpanel',
    'password' => 'cvSvBGUvKRdECtfN',
    'charset' => 'utf8',
];

ADD mysql instead of sqlite
ADD mysql instead of sqlite