[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

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

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 can't