Attached is a small patch for the dbupgrade.php script to pas $dbUser and
$dbPassword to the PDO constructors, so it can work with MySQL
Regards, Daniel
--
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Web : http://www.firewall-services.com
diff -Nur -x '*.orig' -x '*.rej' dl-0.12/htdocs/include/scripts/dbupgrade.php mezzanine_patched_dl-0.12/htdocs/include/scripts/dbupgrade.php
--- dl-0.12/htdocs/include/scripts/dbupgrade.php 2013-11-22 22:32:25.000000000 +0100
+++ mezzanine_patched_dl-0.12/htdocs/include/scripts/dbupgrade.php 2013-11-23 17:22:38.095062786 +0100
@@ -8,7 +8,7 @@
require_once("admfuncs.php");
// initialize the db connection
-$db = new PDO($dsn);
+$db = new PDO($dsn,$dbUser,$dbPassword);
$db->exec('PRAGMA foreign_keys = ON');
// fetch current db release