Question : Propel connection database failed

Hi,

I m having a little problem with my connection when I call the browser :

http://[server]. I get the first page correctly. But when I try to connect myself by [login/password], i get this error message :

Fatal error: Uncaught exception 'PropelException' with message ' [wrapped: connect failed [User Info: Array]]' in /u01/app/e_sda/propel/propel-1.2.1/runtime/classes/propel/Propel.php:489 Stack trace: #0 /u01/app/e_sda/web/src/work/build/classes/bookstore/om/BaseLoginPeer.php(284): Propel::getConnection('bookstore') #1 /u01/app/e_sda/web/src/work/build/classes/bookstore/om/BaseLoginPeer.php(265): BaseLoginPeer::doSelectRS(Object(Criteria), NULL) #2 /u01/app/e_sda/web/auth.php(39): BaseLoginPeer::doSelect(Object(Criteria)) #3 {main} thrown in /u01/app/e_sda/propel/propel-1.2.1/runtime/classes/propel/Propel.php on line 489

Answer : Propel connection database failed

Is the database configuration (hostname, username, password, database) set properly? I'm not into Propel, so I can't help you with that, but 'connect failed [User Info: Array]]' sounds like a failed database connection to me.
Random Solutions  
 
programming4us programming4us