[PHP] PHP installed - MySql Server can't connect

2001-07-12 Thread Gaylen Fraley
PHP install went perfectly. phpinfo shows MySql installed. But, when I try to start Mysql, I get: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) What and why? Please reply to my e-mail address if you can help. Thanks! -- Gaylen [EMAIL PROTEC

Re: [PHP] PHP installed - MySql Server can't connect

2001-07-12 Thread Rasmus Lerdorf
This happens when the mysql server you are running is different from the version of the mysql library php was linked against. If you compiled php using "--with-mysql" you get the mysql client library that comes bundled with PHP which may not match your mysql server and thus may look for the mysql

RE: [PHP] PHP installed - MySql Server can't connect

2001-07-12 Thread Matthew Loff
Maybe his mysql.sock file isn't in /var/lib/mysql/mysql.sock? Mine is /tmp/mysql.sock -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 1:31 AM To: Gaylen Fraley Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP installed - MySql Server

RE: [PHP] PHP installed - MySql Server can't connect

2001-07-12 Thread Rasmus Lerdorf
t: Friday, July 13, 2001 1:31 AM > To: Gaylen Fraley > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP installed - MySql Server can't connect > > > This happens when the mysql server you are running is different from the > version of the mysql library php was linked agains

RE: [PHP] PHP installed - MySql Server can't connect

2001-07-12 Thread Matthew Loff
] Sent: Friday, July 13, 2001 2:01 AM To: Matthew Loff Cc: 'Gaylen Fraley'; [EMAIL PROTECTED] Subject: RE: [PHP] PHP installed - MySql Server can't connect Right, that is basically what I said. On Fri, 13 Jul 2001, Matthew Loff wrote: > > Maybe his mysql.sock file isn'