[imp] Imp + Mysql

Administrador Webmail webmail_smp at yahoo.com.ar
Tue Sep 9 08:35:50 PDT 2003


Please, someone help me.....    
When I try login, it shows the error below:
 
DB Error: connect failed
[línea 108 de /var/www/html/mail/horde/lib/Prefs/sql.php]

 
my configuration are as shown below:

horde/config/horde.php
 
$conf['compress_pages'] = true;
$conf['auth']['driver'] = 'imap';
$conf['auth']['params']['dsn'] = '{localhost/imap:143}INBOX';

$conf['prefs']['driver'] = 'sql';
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = '******'; /*here is my password*/
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

 
and when I check my DB in mysql with:
 
mysql -h localhost -D horde -u horde -p
 
It´s ok, but i can't connect from IMP. However, if after the error of login, I type in the browser:
 
http://mail.myserver.com/horde/imp/mailbox.php?mailbox=INBOX
 
i can see my mailbox, my messages, and i can send and receive e-mails.
 
this is the reason because I think that the problem is just the connection of IMP and MySql, but I don't know what to do.
 
thanks!!!!!
 






---------------------------------
Internet GRATIS es Yahoo! Conexión.
Usuario: yahoo; contraseña: yahoo
Desde Buenos Aires: 4004-1010
Más ciudades: clic aquí.


More information about the imp mailing list