By default, httpd will start before mysql. This means the SQL is unavailable at the time Apache tries to start.
Check the startup sequence, and if necessary rename "/etc/rc.d/rc3.d/S##mysql" so that mysql starts before httpd.
(## is a two-digit number, the scripts will be executed in numerical order upon changing to runlevel 3, i.e. during boot)