From 53794ac31071d1939357824a48b4d217dd57d4d5 Mon Sep 17 00:00:00 2001 From: Andreas Date: Tue, 10 Sep 2019 15:20:41 +0200 Subject: [PATCH] switched user to root because of permission issues --- dev_mvc/tests/createdb/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_mvc/tests/createdb/index.php b/dev_mvc/tests/createdb/index.php index 20d0244..fd6e004 100644 --- a/dev_mvc/tests/createdb/index.php +++ b/dev_mvc/tests/createdb/index.php @@ -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,