master
Helge 2021-12-30 12:58:03 +01:00
parent 58e9a25332
commit 5ff2adbbea
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?php
try {
// Verbindung zur Datenbank herstellen
$pdo = new PDO('mysql:host=localhost;dbname=links', 'linksdb', 'linksdb');
$pdo = new PDO('mysql:host=localhost;dbname=linkdb', 'linkdb', 'linkdb');
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// Tabelle link erstellen, falls nicht vorhanden