Re: [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 John Comerford wrote: Hi Folks, I have a database running on Window XP, that I want to disable network con

[PHP] Cannot connect to an MySQL database using Named Pipes

2007-05-15 Thread John Comerford
Hi Folks, I have a database running on Window XP, that I want to disable network connections to and enable 'named pipes'. I am running MySQL 5.0.27 and my.ini looks like... [client] #password= your_password port= 3306 socket= /tmp/mysql.sock [mysqld] #port= 330