desmond wrote:
> Jerry Stuckle <jstucklex@attglobal.net> wrote:
>>> In other words, it works. So why can't I connect from within a php file?
>>> The password is _identical_ (I even copied and pasted it to make sure).
>>> This is annoying .. is there a typo that I can't see, or is it something,
>>> like some sort of 'rite of passage' that all newbies have to go through??
>>>
>>> Help !!
>>>
>>> D.
>> Do you actually have your mysql socket at /var/mysql/mysql.sock? If
>> not, where is it?
>>
> /private/tmp/mysql.sock
>
> (it's a Mac).
>
> D.
Then you need to specify it in your client section of your my.cnf (or
php.ini file). Right now PHP is using the default.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================