Re: [PHP-DB] [PHP] Cannot connect to an MySQL database using Named Pipes (resolved)

2007-05-15 Thread John Comerford
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

Re: [PHP-DB] [PHP] Cannot connect to an MySQL database using Named Pipes

2007-05-15 Thread John Comerford
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,

Re: [PHP-DB] [PHP] Cannot connect to an MySQL database using Named Pipes

2007-05-15 Thread bedul
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