ZoneMinder failing to connect to mysql

Support and queries relating to all previous versions of ZoneMinder
Locked
w@tcher
Posts: 4
Joined: Wed Oct 13, 2004 2:51 pm

ZoneMinder failing to connect to mysql

Post by w@tcher »

Just installed everything it all appears to been installed ok. However when I try and connect to my webserver I receive the following message

Warning: mysql_pconnect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in /usr/local/apache2/htdocs/zm/zm_db.php on line 21
Could not connect to database: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Is there something I am missing. PHP was built with mysql support? Is there something that I can do to check connectivity.

perl zmconfig.pl -noi connects to mysql fine...

Thanks
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

is php_mysql installed?

what linux release you have?
Fernando
w@tcher
Posts: 4
Joined: Wed Oct 13, 2004 2:51 pm

Post by w@tcher »

Sorry -I am running Suse 9.1

I installed PHP 4.3.9 from the source with:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

I am also running Apache2.
User avatar
fernando
Posts: 240
Joined: Thu Jul 10, 2003 6:00 pm

Post by fernando »

iam sorry i dont have idea about suse..

that error came whitout php-mysql or when the mysql users dont have a host. like zm@localhost.
Fernando
w@tcher
Posts: 4
Joined: Wed Oct 13, 2004 2:51 pm

Post by w@tcher »

doing a bit more reading problem may be because I have installed mysql 4.1.5 has anyone else got a working system based on mysql 4.1.5?

Is it worth downgrading to 4.0?
w@tcher
Posts: 4
Joined: Wed Oct 13, 2004 2:51 pm

Post by w@tcher »

downgraded to 4.0 - no problems at all.....

thanks
Locked