|
本帖最后由 waterc 于 2010-2-27 15:32 编辑
我按照标准的用法使用的,
我确定我的数据库连接正常,该条session记录也顺利写入数据库了.
但是页面下面有如下报错
A PHP Error was encountered
Severity: Warning
Message: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO)
Filename: libraries/Session.php
Line Number: 430
A PHP Error was encountered
Severity: Warning
Message: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established
Filename: libraries/Session.php
Line Number: 430
A PHP Error was encountered
Severity: Warning
Message: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO)
Filename: libraries/Session.php
Line Number: 431
A PHP Error was encountered
Severity: Warning
Message: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established
Filename: libraries/Session.php
Line Number: 431
A PHP Error was encountered
Severity: Warning
Message: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO)
Filename: libraries/Session.php
Line Number: 432
A PHP Error was encountered
Severity: Warning
Message: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established
Filename: libraries/Session.php
Line Number: 432
A PHP Error was encountered
Severity: Warning
Message: mysql_query(): 42 is not a valid MySQL-Link resource
Filename: libraries/Session.php
Line Number: 436
A PHP Error was encountered
Severity: Warning
Message: mysql_close(): 42 is not a valid MySQL-Link resource
Filename: libraries/Session.php
Line Number: 403 |
|