Helge 2022-01-08 22:44:40 +01:00
commit 092e3db6b9
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