[horde] DB Error: connect failed
Erick Ruiz Rojas
erick at upn.mx
Wed Jan 5 11:15:41 PST 2005
Hi!, i'm trying to configure horde and i don't know which could be the
problem. After login screen it apears the error:
A fatal error has occurred:
DB Error: connect failed
[line 108 of /var/www/html/horde/lib/Prefs/sql.php]
Details have been logged for the administrator.
the horde log file launch this:
Jan 05 12:35:11 HORDE [emergency] [horde] DB Error: connect failed: [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)] ** Array [on line 108 of "/var/www/html/horde/lib/Prefs/sql.php"]
Jan 05 12:35:32 HORDE [notice] [imp] Login success for erick [10.20.18.7] to {mail.ajusco.upn.mx:143} [on line 64 of "/var/www/html/horde/imp/redirect.php"]
Jan 05 12:35:32 HORDE [emergency] [imp] DB Error: connect failed: [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)] ** Array [on line 108 of "/var/www/html/horde/lib/Prefs/sql.php"]
Jan 05 12:35:44 HORDE [emergency] [horde] DB Error: connect failed: [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)] ** Array [on line 108 of "/var/www/html/horde/lib/Prefs/sql.php"]
Jan 05 12:35:56 HORDE [emergency] [horde] DB Error: connect failed: [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)] ** Array [on line 108 of "/var/www/html/horde/lib/Prefs/sql.php"]
I found in horde mail list database (write in horde.php):
$conf['prefs']['params']['socket'] = '/path/to/mysql.sock';
where mysql, apache, services are working correctly, with:
# netstat -ptln |grep 3306
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 7070/mysqld
# /etc/rc.d/init.d/httpd status
httpd (pid 7106 7105 7104 7103 7102 7101 7100 7099 7096) is running...
# /etc/rc.d/init.d/mysqld status
mysqld (pid 7070) is running...
which versions of the programs are:
MYSQL:
# mysql -u horde -p horde
Enter password:
Your MySQL connection id is 3 to server version: 3.23.58
mysql> show tables;
+------------------+
| Tables_in_horde |
+------------------+
| horde_categories |
| horde_prefs |
| horde_users |
| kronolith_events |
| turba_objects |
+------------------+
5 rows in set (0.00 sec)
Apache: Apache/2.0.52 (Fedora) Server at localhost Port 80
the settings of my horde.php is:
(i attached the file)
thanks for your help
-------------- next part --------------
A non-text attachment was scrubbed...
Name: horde.php
Type: application/x-php
Size: 13103 bytes
Desc: not available
Url : http://lists.horde.org/archives/horde/attachments/20050105/f950b7f7/horde-0002.bin
More information about the horde
mailing list