I am trying to connect to a mysql server fom a php script using the php sql_pconnect statement. I have used "localhost" as the host name, and the userid and password I normally use when connecting from the console. However, when executing the sql_pconnect statement I get an error message that reads "Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) ". Any ideas on what is wrong. This is my first attempt at this. Please respond via email, as I do not have access to the discussion list through my current isp. Thank you ...