PDA

View Full Version : Problem with mysql_pconnect


shaihi
10-10-2004, 19:49
Hi,
When I try to open the index page I get this message:
Warning: mysql_pconnect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/zabbix/public_html/html/include/db.inc.php on line 32
Error connecting to database [Access denied for user ''@'localhost' to database 'zabbix']
As you can see the problam is that MySQL does not recieve the user name and password of the root correctly.
I have checked db.inc.php. What could be the problem?
Thanks,
Shai

Alexei
10-10-2004, 20:37
http://dev.mysql.com/doc/mysql/en/Old_client.html

shaihi
11-10-2004, 11:50
Thanks,
Sorry I'm a newbie and I thought what you pointed to doesn't concern me cause I just installed both server and client of MySQL ver. 4.1.x

Alexei
11-10-2004, 11:55
I think it does concern you.

Have you recompiled ZABBIX after new MySQL was installed? I believe MySQL client libraries used by ZABBIX daemons are incompatible with the MySQL server, that's why you have this problem.

shaihi
11-10-2004, 13:58
I didn't recompile, but I used the OLD_PASSWORD func. and it worked...
Thanks,
Shai

peter_milburn
23-09-2005, 08:14
That also worked for me as well.

Good to see forums that actually work :)

Pete