我的应用程序在localhost上完美运行.但是当我在
服务器上
上传应用程序时,我收到了
一个错误.我做了
一个测试
文件来
检查数据库连接,这是我得到的
错误.请告诉我如何
解决这个问题
..
@H_
304_1@
Fatal error: Uncaught exception 'Doctrine_Connection_Exception' w
ITh message '
Couldn't locate driver n
amed
MysqL' in /hermes/web05/b1392/moo.
fanyer/httpdocs/doctrine/lib/Doctrine/Connection.
PHP:492 Stack trace:
#0 /hermes/web05/b1392/moo.fanyer/httpdocs/doctrine/lib/Doctrine/Connection/
MysqL.
PHP(101): Doctrine_Connection->connect() #1 /hermes/web05/b1392/moo.fanyer/httpdocs/doctrine/lib/Doctrine/Connection.
PHP(1008): Doctrine_Connection_
MysqL->connect() #2 /hermes/web05/b1392/moo.fanyer/httpdocs/doctrine/lib/Doctrine/Query/Abstract.
PHP(1094): Doctrine_Connection->execute('SELECT u.id AS ...',Array) #3 /hermes/web05/b1392/moo.fanyer/httpdocs/doctrine/lib/Doctrine/Query/Abstract.
PHP(1142): Doctrine_Query_Abstract->_execute(Array) #4 /hermes/web05/b1392/moo.fanyer/httpdocs/doctrine/models/Users.
PHP(22): Doctrine_Query_Abstract->execute() #5 /hermes/web05/b1392/moo.fanyer/httpdocs/
test.
PHP(8): Users->get_det
ails_username('mohit') #6 {main} t
hrown in /hermes/web05/b1392/moo.fanyer/httpdocs/doctrine/lib/Doctrine/Connection.
PHP on line 492
编辑:如何启用我的sql驱动程序.. ???