melder/config.db.php
Walter Hupfeld 91a8c4e567 PDO
2024-02-17 08:42:54 +01:00

13 lines
298 B
PHP

<?
$db_server = "mariadb";
$db_user = "root";
$db_passwd = "g0r@w@";
$db_name = "nrw_melder";
$cachetime = 0;
try {
$db = new PDO('mysql:host='.$db_server.';dbname='.$db_name.';charset=utf8mb4', $db_user, $db_passwd);
} catch (PDOException $e) {echo "Fehler: ".$e->getMessage(); die();}