Warning: mysql_pconnect() [function.mysql-pconnect]: Unknown MySQL server host 'mysql5-6.perso' (1) in /home/editionszc/www/outils/adodb/drivers/adodb-mysql.inc.php on line 382
object(ADODB_Exception)#7 (13) {
["dbms"]=>
string(5) "mysql"
["fn"]=>
string(8) "PCONNECT"
["sql"]=>
string(0) ""
["params"]=>
string(0) ""
["host"]=>
string(14) "mysql5-6.perso"
["database"]=>
string(13) "editionszcbdd"
["message:protected"]=>
string(136) "mysql error: [2005: Unknown MySQL server host 'mysql5-6.perso' (1)] in PCONNECT(mysql5-6.perso, 'editionszcbdd', '****', editionszcbdd)
"
["string:private"]=>
string(0) ""
["code:protected"]=>
int(2005)
["file:protected"]=>
string(58) "/home/editionszc/www/outils/adodb/adodb-exceptions.inc.php"
["line:protected"]=>
int(78)
["trace:private"]=>
array(4) {
[0]=>
array(4) {
["file"]=>
string(47) "/home/editionszc/www/outils/adodb/adodb.inc.php"
["line"]=>
int(597)
["function"]=>
string(11) "adodb_throw"
["args"]=>
array(7) {
[0]=>
string(5) "mysql"
[1]=>
string(8) "PCONNECT"
[2]=>
int(2005)
[3]=>
string(46) "Unknown MySQL server host 'mysql5-6.perso' (1)"
[4]=>
string(14) "mysql5-6.perso"
[5]=>
string(13) "editionszcbdd"
[6]=>
object(ADODB_mysql)#5 (85) {
["databaseType"]=>
string(5) "mysql"
["dataProvider"]=>
string(5) "mysql"
["hasInsertID"]=>
bool(true)
["hasAffectedRows"]=>
bool(true)
["metaTablesSQL"]=>
string(11) "SHOW TABLES"
["metaColumnsSQL"]=>
string(22) "SHOW COLUMNS FROM `%s`"
["fmtTimeStamp"]=>
string(13) "'Y-m-d H:i:s'"
["hasLimit"]=>
bool(true)
["hasMoveFirst"]=>
bool(true)
["hasGenID"]=>
bool(true)
["isoDates"]=>
bool(true)
["sysDate"]=>
string(9) "CURDATE()"
["sysTimeStamp"]=>
string(5) "NOW()"
["hasTransactions"]=>
bool(false)
["forceNewConnect"]=>
bool(false)
["poorAffectedRows"]=>
bool(true)
["clientFlags"]=>
int(0)
["substr"]=>
string(9) "substring"
["nameQuote"]=>
string(1) "`"
["compat323"]=>
bool(false)
["_genIDSQL"]=>
string(38) "update %s set id=LAST_INSERT_ID(id+1);"
["_genSeqSQL"]=>
string(33) "create table %s (id int not null)"
["_genSeqCountSQL"]=>
string(23) "select count(*) from %s"
["_genSeq2SQL"]=>
string(26) "insert into %s values (%s)"
["_dropSeqSQL"]=>
string(13) "drop table %s"
["database"]=>
string(13) "editionszcbdd"
["host"]=>
string(14) "mysql5-6.perso"
["user"]=>
string(13) "editionszcbdd"
["password"]=>
string(8) "317jLXiq"
["debug"]=>
bool(false)
["maxblobsize"]=>
int(262144)
["concat_operator"]=>
string(1) "+"
["length"]=>
string(6) "length"
["random"]=>
string(6) "rand()"
["upperCase"]=>
string(5) "upper"
["fmtDate"]=>
string(7) "'Y-m-d'"
["true"]=>
string(1) "1"
["false"]=>
string(1) "0"
["replaceQuote"]=>
string(2) "\'"
["charSet"]=>
bool(false)
["metaDatabasesSQL"]=>
string(0) ""
["uniqueOrderBy"]=>
bool(false)
["emptyDate"]=>
string(6) " "
["emptyTimeStamp"]=>
string(6) " "
["lastInsID"]=>
bool(false)
["hasTop"]=>
bool(false)
["readOnly"]=>
bool(false)
["genID"]=>
int(0)
["raiseErrorFn"]=>
string(11) "adodb_throw"
["cacheSecs"]=>
int(3600)
["memCache"]=>
bool(false)
["memCacheHost"]=>
NULL
["memCachePort"]=>
int(11211)
["memCacheCompress"]=>
bool(false)
["arrayClass"]=>
string(18) "ADORecordSet_array"
["noNullStrings"]=>
bool(false)
["numCacheHits"]=>
int(0)
["numCacheMisses"]=>
int(0)
["pageExecuteCountRows"]=>
bool(true)
["uniqueSort"]=>
bool(false)
["leftOuter"]=>
bool(false)
["rightOuter"]=>
bool(false)
["ansiOuter"]=>
bool(false)
["autoRollback"]=>
bool(false)
["fnExecute"]=>
bool(false)
["fnCacheExecute"]=>
bool(false)
["blobEncodeType"]=>
bool(false)
["rsPrefix"]=>
string(13) "ADORecordSet_"
["autoCommit"]=>
bool(true)
["transOff"]=>
int(0)
["transCnt"]=>
int(0)
["fetchMode"]=>
bool(false)
["null2null"]=>
string(4) "null"
["_oldRaiseFn"]=>
bool(false)
["_transOK"]=>
NULL
["_connectionID"]=>
bool(false)
["_errorMsg"]=>
string(46) "Unknown MySQL server host 'mysql5-6.perso' (1)"
["_errorCode"]=>
bool(false)
["_queryID"]=>
bool(false)
["_isPersistentConnection"]=>
bool(true)
["_bindInputArray"]=>
bool(false)
["_evalAll"]=>
bool(false)
["_affected"]=>
bool(false)
["_logsql"]=>
bool(false)
["_transmode"]=>
string(0) ""
}
}
}
[1]=>
array(6) {
["file"]=>
string(50) "/home/editionszc/www/modeles/ConnexionBd.class.php"
["line"]=>
int(27)
["function"]=>
string(8) "PConnect"
["class"]=>
string(13) "ADOConnection"
["type"]=>
string(2) "->"
["args"]=>
array(4) {
[0]=>
string(14) "mysql5-6.perso"
[1]=>
string(13) "editionszcbdd"
[2]=>
string(8) "317jLXiq"
[3]=>
string(13) "editionszcbdd"
}
}
[2]=>
array(6) {
["file"]=>
string(51) "/home/editionszc/www/modeles/Liste_livres.class.php"
["line"]=>
int(21)
["function"]=>
string(9) "connecter"
["class"]=>
string(11) "ConnexionBd"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
&string(49) "SELECT * FROM livres where id_collection IS NULL "
}
}
[3]=>
array(6) {
["file"]=>
string(30) "/home/editionszc/www/index.php"
["line"]=>
int(41)
["function"]=>
string(11) "__construct"
["class"]=>
string(12) "Liste_livres"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
&string(49) "SELECT * FROM livres where id_collection IS NULL "
}
}
}
["msg"]=>
string(46) "Unknown MySQL server host 'mysql5-6.perso' (1)"
}
ConnexionBd.connecter(SELECT * FROM livres where id_collection IS NULL ) % line 21, file: Liste_livres.class.php
Liste_livres.__construct(SELECT * FROM livres where id_collection IS NULL ) % line 41, file: index.php
Fatal error: Uncaught exception 'BdException' with message 'Unknown MySQL server host 'mysql5-6.perso' (1)' in /home/editionszc/www/modeles/Liste_livres.class.php:22
Stack trace:
#0 /home/editionszc/www/index.php(41): Liste_livres->__construct('SELECT * FROM l...')
#1 {main}
thrown in /home/editionszc/www/modeles/Liste_livres.class.php on line 22