switched user to root because of permission issues

This commit is contained in:
Andreas 2019-09-10 15:20:41 +02:00
parent 0419f6c423
commit 53794ac310

View File

@ -25,7 +25,7 @@ $db="webforum";
try {
$dsn = "mysql:host=$host;dbname=$db";
//Maak verbinding
$con = new PDO($dsn, $user, $pass);
$con = new PDO($dsn, $root, $root_password);
$con->exec("CREATE TABLE `board` (
`ID` int(16) NOT NULL AUTO_INCREMENT,
`name` varchar(256) NOT NULL,