[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] MySQL -> PHP Problems on RAQ4



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
> bob@xxxxxxxxxxxxxxxxxx
> Source New Media
> 
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers