pdo for nx
composer require veasin/nx-db-pdo
'db/pdo'=>[
'default' => [
'dsn' => 'mysql:dbname=db_name;host=host_url;charset=utf8mb4',
'username' => 'db_user',
'password' => 'db_password',
'options' => [
],
],
]