<?php

declare(strict_types=1);

\main_tts\configure::set('database', array(
  // PDO::ERRMODE_WARNING
  // PDO::ERRMODE_SILENT  
  // PDO::ERRMODE_EXCEPTION
  'PDO_ERROR' => PDO::ERRMODE_EXCEPTION, 
  'PDO_TIMEOUT' => 6, // Seconds to wait to connect before error
  'PDO_PERSISTENT' => false, // Connection type
  'PDO_SET_TIME' => true, // Setup UTC time and UTF8
//  'SOCKET' => '/var/run/mysqld/mysqld.sock',
  'TYPE' => 'mysql',
  'HOST' => '127.0.0.1',
  'PORT' => '3306',
  'NAME' => 'My_Super_Cool_DB',
  'USER' => 'My_DB_User',
  'PASS' => 'My_DB_PWD',
  'log_validation_errors' => true
));
