Ik kan geen verbinding maken met mijn database.
Ik krijg deze error in me mysql_error.log :
SQL Error!
Datum: 14-01-2008
Tijd: 16:15
De functie: Verbinding maken
Het bestand: C:\Documents and Settings\User\Bureaublad\Webserver\Apache2\htdocs\ns1.5.5.1\includes\config.inc.php
Regelnummer: 10
SQL Error: Access denied for user 'ODBC'@'localhost' (using password: NO)
SQL Query:
En dit is mijn code die in config.inc.php staat:
Ik krijg deze error in me mysql_error.log :
SQL Error!
Datum: 14-01-2008
Tijd: 16:15
De functie: Verbinding maken
Het bestand: C:\Documents and Settings\User\Bureaublad\Webserver\Apache2\htdocs\ns1.5.5.1\includes\config.inc.php
Regelnummer: 10
SQL Error: Access denied for user 'ODBC'@'localhost' (using password: NO)
SQL Query:
En dit is mijn code die in config.inc.php staat:
PHP:
<?PHP
include("report_mysql.php");
$MySQL['host'] = "localhost";
$MySQL['user'] = "root";
$MySQL['pass'] = "gaatjeookniksaan";
$MySQL['daba'] = "a";
$MySQL['conn'] = MySQL_Connect($MySQL['host'], $MySQL['user'], $MySQL['pass']) or report_mysql("Verbinding maken", __FILE__, __LINE__, $MySQL['conn']);
$MySQL['sele'] = MySQL_Select_DB($MySQL['daba']) or report_mysql("Database selecteren", __FILE__, __LINE__, $MySQL['sele']);
$admin['username'] = "swiertje";
$admin['password'] = "gaatjeniksaan";
$admin['mailaddr'] = "zoujewelwille@wete.he";
$img['smiles'] = "smiles";
$max['overzicht'] = "50";
$max['nieuws'] = "3";
?>