Home Fórum Dúvidas ERROR : Could not make database connecti...
 Fórum :: Dúvidas
Welcome Guest   [Register]  [Login]
 Subject :ERROR : Could not make database connection: connect failed.. 22-10-2009 12:41:29 
wbuenosp
Joined: 21-10-2009 10:42:29
Posts: 1
Location

Ao realizar a instalação do Emexis (stable) e ocorrer a mensagem de erro .:

 

 ERROR : Could not make database connection: connect failed

 

Verifique os arquivos .:

/chroot/emexis-webmail/var/www/htdocs/emexis-webmail/plugins/pcal/config.php

Na linha PCAL adicionar o endereço do servidor que encontra-se o banco de dados (emexis).:

 /** Pear::DB conection string:
  * <driver>://<username>:<password>@<server>/<database>
  * More information at http://pear.php.net/manual/en/package.database.db.intro-dsn.php
/  */
$pcal_dsn = 'pgsql://postgres:postgres@x.x.x.x:5432/emexis-webmail';

 

/chroot/emexis-webmail/var/www/htdocs/emexis-webmail/config/config_database.php

 $con_postgres = "host=x.x.x.x port=5432 dbname=emexis-webmail user=emexis";

 

Com isso o acesso será realizado sem erro.

IP Logged
Página # 


Powered by ccBoard