WARNING: DBI connect('database=test;mysql_socket=/tmp/mysql.sock2','test',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock2' (2) at /home/unixusrs/dmartin/htdocs/cgi-bin/mysql.cgi line 33.

ERROR: Failed to connect to mysql