20250820 v1.0.2-b2
This commit is contained in:
13
tests/database_config_sample.php
Normal file
13
tests/database_config_sample.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
use goodboyalex\php_db_components_pack\enums\DBDriver;
|
||||
use goodboyalex\php_db_components_pack\models\DBConfig;
|
||||
|
||||
$testConfig = new DBConfig(
|
||||
driver: DBDriver::MySQL, # ВЫБЕРЕТЕ НУЖНЫЙ ДРАЙВЕР
|
||||
host: 'ХОСТ БАЗЫ ДАННЫХ',
|
||||
port: 0, # ПОРТ
|
||||
name: 'ИМЯ БАЗЫ ДАННЫХ',
|
||||
userName: "ПОЛЬЗОВАТЕЛЬ БАЗЫ ДАННЫХ",
|
||||
password: 'ПАРОЛЬ ПОЛЬЗОВАТЕЛЯ'
|
||||
);
|
Reference in New Issue
Block a user