it sounds like your mysql isn't installed properly...
when you connect, try something like this:
if (!($connection = @ mysql_connect($host,$user,$pwd)))
{ die "couldn't connect";}else{"connected properly";}
mysql error messages are different than php error messages, and you can trap them in the die message so they are displayed.
But first off you should try to get into mysql from the command line... Check if it is installed (rpm -q mysql) might give you the answer, unless you compiled mysql from source. I would recommend that you download a new source rpm and install it (rpm -ivh mysqlFileName.rpm) and then see if you can get that working.