Unable to open PDO connection [wrapped: SQLSTATE[HY000] [1045] Access denied for user 'clavis-bergamo'@'clavisbg-ap2.provbs.locale' (using password: YES)]
/var/www/html/clavisng/vendor/propel/propel1/runtime/lib/Propel.php (688)
0677: self::processDriverOptions($conparams['options'], $driver_options);
0678: } catch (PropelException $e) {
0679: throw new PropelException('Error processing driver options for datasource [' . $name . ']', $e);
0680: }
0681: }
0682:
0683: try {
0684: $con = new $classname($dsn, $user, $password, $driver_options);
0685: $con->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
0686: $con->setAttribute(PropelPDO::PROPEL_ATTR_CONNECTION_NAME, $name);
0687: } catch (PDOException $e) {
0688: throw new PropelException("Unable to open PDO connection", $e);
0689: }
0690:
0691: // load any connection options from the config file
0692: // connection attributes are those PDO flags that have to be set on the initialized connection
0693: if (isset($conparams['attributes']) && is_array($conparams['attributes'])) {
0694: $attributes = array();
0695: try {
0696: self::processDriverOptions($conparams['attributes'], $attributes);
0697: } catch (PropelException $e) {
0698: throw new PropelException('Error processing connection attributes for datasource [' . $name . ']', $e);
0699: }
0700: foreach ($attributes as $key => $value) {
#0 /var/www/html/clavisng/vendor/propel/propel1/runtime/lib/Propel.php(586): Propel::initConnection(Array, 'clavis')
#1 /var/www/html/clavisng/vendor/propel/propel1/runtime/lib/Propel.php(561): Propel::getMasterConnection('clavis')
#2 /var/www/html/clavisng/protected/Common/ClavisRequestManager.php(90): Propel::getConnection()
#3 /var/www/html/clavisng/vendor/pradosoft/prado/framework/pradolite.php(10665): ClavisRequestManager->init(Object(TXmlElement))
#4 /var/www/html/clavisng/vendor/pradosoft/prado/framework/pradolite.php(10696): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#5 /var/www/html/clavisng/vendor/pradosoft/prado/framework/pradolite.php(10292): TApplication->initApplication()
#6 /var/www/html/clavisng/index.php(88): TApplication->run()
#7 {main}