X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cb40aa41d5b0efefdb2b9263e87ed016cce96277..5f97080c738f59d58d9ec334b31be300bf6d04a8:/lib/db.php?ds=sidebyside diff --git a/lib/db.php b/lib/db.php index c50b3c40..acdb31c4 100644 --- a/lib/db.php +++ b/lib/db.php @@ -7,7 +7,9 @@ $oDB =& DB::connect(CONST_Database_DSN.($bNew?'?new_link=true':''), false); if (PEAR::IsError($oDB)) { - fail($oDB->getMessage(), 'Unable to connect to the database'); + var_dump(CONST_Database_DSN); + var_Dump($oDB); + fail($oDB->getMessage()); } $oDB->setFetchMode(DB_FETCHMODE_ASSOC); $oDB->query("SET DateStyle TO 'sql,european'");