我的应用程序在localhost上完美运行.但是当我在服务器上上传应用程序时,我收到了一个错误.我做了一个测试文件来检查数据库连接,这是我得到的错误.请告诉我如何解决这个问题..
原文链接:https://www.f2er.com/php/136116.htmlFatal error: Uncaught exception 'Doctrine_Connection_Exception' with message 'Couldn't locate driver named 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_details_username('mohit') #6 {main} thrown in /hermes/web05/b1392/moo.fanyer/httpdocs/doctrine/lib/Doctrine/Connection.PHP on line 492
编辑:如何启用我的sql驱动程序.. ???