I've see this before. Check permissions of mysql.sock file. Try chmod 777 /tmp/mysql.sock user 'nobody' or whoever owns the php process needs to be able to read/execute it. Ken Bobby Chopra wrote: > > I have just acquired a RAQ4, and have installed MySQL on it. > > I can access MySQL fine from the shell, but I can not get PHP to talk to it. > > Upon 'mysql_connect()' I get the following warning: > > Warning: MySQL Connection Failed: Can't connect to local MySQL server > through socket '/tmp/mysql.sock' (111) > > All my PHP code is proven working and I was hoping for a relatively painless > transition. > > If anyone could help me I would be most grateful. > > Cheers > > Bobby Chopra > [EMAIL PROTECTED] > Source New Media > > _______________________________________________ > cobalt-developers mailing list > [EMAIL PROTECTED] > http://list.cobalt.com/mailman/listinfo/cobalt-developers _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
