Warning: mysql_connect(): No such file or directory in /opt/lampp/htdocs/2013/libs/FLEA/FLEA/Db/Driver/Mysql.php on line 64

SQL 错误消息: "No such file or directory" SQL 语句: "mysql_connect('localhost', 'root') failed!" SQL 错误代码: "7335941".

错误原因:

您看到这个错误页面是因为应用程序抛出了没有捕获的异常。

异常的详细内容: exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL 错误消息: "No such file or directory"
SQL 语句: "mysql_connect('localhost', 'root') failed!"
SQL 错误代码: "7335941".' in /opt/lampp/htdocs/2013/libs/FLEA/FLEA/Db/Driver/Mysql.php:69
Stack trace:
#0 /opt/lampp/htdocs/2013/libs/FLEA/FLEA.php(752): FLEA_Db_Driver_Mysql->connect()
#1 /opt/lampp/htdocs/2013/libs/FLEA/FLEA/Db/TableDataGateway.php(301): FLEA->getDBO()
#2 /opt/lampp/htdocs/2013/libs/FLEA/FLEA.php(422): FLEA_Db_TableDataGateway->FLEA_Db_TableDataGateway()
#3 /opt/lampp/htdocs/2013/APP/Controller/Video.php(7): FLEA->getSingleton('Model_Video')
#4 /opt/lampp/htdocs/2013/libs/FLEA/FLEA/Dispatcher/Simple.php(106): Controller_Video->Controller_Video('video')
#5 /opt/lampp/htdocs/2013/libs/FLEA/FLEA/Dispatcher/Simple.php(77): FLEA_Dispatcher_Simple->_executeAction('video', 'view', 'Controller_Vide...')
#6 /opt/lampp/htdocs/2013/libs/FLEA/FLEA.php(816): FLEA_Dispatcher_Simple->dispatching()
#7 /opt/lampp/htdocs/2013/index.php(11): FLEA::runMVC()
#8 {main}

Exception: FLEA_Db_Exception_SqlQuery
Message: SQL 错误消息: "No such file or directory" SQL 语句: "mysql_connect('localhost', 'root') failed!" SQL 错误代码: "7335941".


Filename: /opt/lampp/htdocs/2013/libs/FLEA/FLEA.php [752]
#8 FLEA_Db_Driver_Mysql::connect()

Filename: /opt/lampp/htdocs/2013/libs/FLEA/FLEA/Db/TableDataGateway.php [301]
#7 FLEA::getDBO()

Filename: /opt/lampp/htdocs/2013/libs/FLEA/FLEA.php [422]
#6 FLEA_Db_TableDataGateway::FLEA_Db_TableDataGateway()

Filename: /opt/lampp/htdocs/2013/APP/Controller/Video.php [7]
#5 FLEA::getSingleton('Model_Video')

Filename: /opt/lampp/htdocs/2013/libs/FLEA/FLEA/Dispatcher/Simple.php [106]
#4 Controller_Video::Controller_Video('video')

Filename: /opt/lampp/htdocs/2013/libs/FLEA/FLEA/Dispatcher/Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('video', 'view', 'Controller_Video')

Filename: /opt/lampp/htdocs/2013/libs/FLEA/FLEA.php [816]
#2 FLEA_Dispatcher_Simple::dispatching()

Filename: /opt/lampp/htdocs/2013/index.php [11]
#1 FLEA::runMVC()