note 14832 added to ref.mysql.php

From: Date: Thu, 16 Aug 2001 20:14:51 +0000
Subject: note 14832 added to ref.mysql.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16815@lists.php.net to get a copy of this message
chris@21c.tc wrote that with the Caldera rpm of Mysql, he was having trouble with PHP connecting to MySql on "localhost". He said that setting mysql.default_socket in php.ini did not work. I was also having this trouble, but with an RPM from MySql. If you set mysql.default_socket such as mysql.default_socket = "/var/lib/mysql/mysql.sock" and restart apache, it will work. I am using the apache mod build of PHP and I am not sure if the restart is necessary. http://www.php.net/manual/en/ref.mysql.php

« previous php.notes (#16815) next »