switched user to root because of permission issues
This commit is contained in:
parent
0419f6c423
commit
53794ac310
@ -25,7 +25,7 @@ $db="webforum";
|
|||||||
try {
|
try {
|
||||||
$dsn = "mysql:host=$host;dbname=$db";
|
$dsn = "mysql:host=$host;dbname=$db";
|
||||||
//Maak verbinding
|
//Maak verbinding
|
||||||
$con = new PDO($dsn, $user, $pass);
|
$con = new PDO($dsn, $root, $root_password);
|
||||||
$con->exec("CREATE TABLE `board` (
|
$con->exec("CREATE TABLE `board` (
|
||||||
`ID` int(16) NOT NULL AUTO_INCREMENT,
|
`ID` int(16) NOT NULL AUTO_INCREMENT,
|
||||||
`name` varchar(256) NOT NULL,
|
`name` varchar(256) NOT NULL,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user