I got as reply on another forum which resolved this issue. The command
should be:
$mysqli = new mysqli(".", $username,$password,
$database,null,"/tmp/mysql.sock");
NB. host is a dot
bedul wrote:
try run winmysqladmin.exe
is there a posibility your mysql server got crash with unknown rea
I can connect using MySQL Administrator without any problems, so it
hasn't crash.
bedul wrote:
try run winmysqladmin.exe
is there a posibility your mysql server got crash with unknown reason
- Original Message -
From: "John Comerford" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 16,
try run winmysqladmin.exe
is there a posibility your mysql server got crash with unknown reason
- Original Message -
From: "John Comerford" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 16, 2007 11:05 AM
Subject: [PHP-DB] [PHP] Cannot connect to an MySQL database using Named
Pipes
> Hi Fo