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

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



Happend to me once too... mysql didn't had permission to write in /tmp,
and couldn't create a socket "file" because of that...
try checking the permissions

hope this helps :)


  Best regards,
     shimi [mailto:shimi@xxxxxxxxxxxxxxxx]


----

Some quotes:

   "Outlook is a massive flaming horrid blatant security violation, that
    also happens to be a mail reader."                                   

   "There are two major products that come out of Berkeley: LSD and BSD.     
    We don't believe this to be a coincidence."
          -- Jeremy S. Anderson

 Windows: "Where do you want to go today?"
   Linux: "Where do you want to go tomorrow?"
     BSD: "Are you guys coming or what?"

On Thu, 29 Mar 2001, 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
>