@ -1,6 +1,6 @@
<?php
$pdo = new PDO('mysql:host=localhost;dbname=links', 'root', 'test');
$pdo = new PDO('mysql:host=localhost;dbname=links', 'linksdb', 'linksdb');
$sql = "SELECT * FROM link";
foreach ($pdo->query($sql) as $row) {