Re: MYSQL_SOCKET

From: Date: Thu, 16 Aug 2001 15:03:50 +0000
Subject: Re: MYSQL_SOCKET
References: 1  Groups: php.db php.general 
Request: Send a blank email to php-general+get-63031@lists.php.net to get a copy of this message
yes i'm actually getting the MYSQL_SOCKET variable and it's looking for the mysql.sock file in /tmp however it's placed in the /var/lib/mysql directory and I don't know how to change this. I've looked in the php.ini but didn't see anything about it. I've also looked for the my.cnf file and it's not on the machine. Thanks, Jay ----- Original Message ----- From: "Jonathan Hilgeman" <JHilgeman@ecx.com> To: "'Jay Paulson'" <jpaulson@lbjs.com> Sent: Wednesday, August 15, 2001 6:55 PM Subject: RE: [PHP-DB] MYSQL_SOCKET > I just re-read your question. Not sure if you can set it with PHP. That > sounds like an environment variable that PHP is reading. Do you have a page > with the phpinfo() function in it somewhere? > > - Jonathan > > -----Original Message----- > From: Jay Paulson [mailto:jpaulson@lbjs.com] > Sent: Wednesday, August 15, 2001 3:08 PM > To: php-db@lists.php.net; php > Subject: [PHP-DB] MYSQL_SOCKET > > > the variable MYSQL_SOCKET is set to /tmp/mysql.sock and i need it to be > /var/lib/mysql/mysql.sock is there anyway i can set this variable in php? > > thanks... >

« previous php.general (#63031) next »