Hello,
I suspect that all is OK in your code. I had a very similar problem three
days ago. Try connecting to FQDN like [EMAIL PROTECTED] via TCP/IP, not to
localhost via UNIX socket. It works in my case at least.
BTW it seems to be a DB package bug... write a simple test script with
mysqli_*
[EMAIL PROTECTED] wrote:
when connecting to MySQL 4.1 using PHP 5 and PEAR::DB I get this error:
DB Error: connect failed
a closer look gets this:
Can't connect to local MySQL server through socket 'localhost' (2)
the code for the connection is like this::
public static
2 matches
Mail list logo