AW: Re: Re: RT not connecting to database?

No, firewall was not my idea behind, have you tried from rtwww to rtdb with mysql -uusername -p -h rtdb and this works? Are the rights granded correctly during the installation?

Sent: Tue Jul 24 19:20:27 2007
Subject: Re: Re: [rt-users] RT not connecting to database?

Is the server at the same box or on a separated box? How does your setup looks like?

The database is on a separate host. It can be accessed with mysqladmin
from the host running RT, so there isn’t a firewall or anything.

-----Original Message-----

Does this error happen all the time or after a longer time without any usage?

All the time.

-----Original Message-----
Sent: Mon Jul 23 22:25:23 2007
Subject: [rt-users] RT not connecting to database?

When I hit my RT install in a browser, I get an Internet Server Error.
The error_log says:

DBI connect(‘dbname=rt3;host=’,‘rt_user’,…) failed: Can’t
connect to MySQL server on ‘’ (13) at
/usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/ line 106
Connect Failed Can’t connect to MySQL server on ‘’ (13)
at /usr/lib/perl5/vendor_perl/5.8.8/ line 205
[Mon Jul 23 13:20:52 2007] [warn] (104)Connection reset by peer:
mod_fcgid: read data from fastcgi server error.
[Mon Jul 23 13:20:52 2007] [error] [client] Premature end
of script headers: mason_handler.fcgi

I can run mason_handler.fcgi from the command line and get results,
so… some issue with the Apache configuration?

Community help:
Commercial support:

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at