when run php poller.php for test.but i get following message:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in /usr/local/cacti-0.8.6e/lib/adodb/drivers/adodb-mysql.inc.php on line 340
<br>Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
thanks help
help help. have problem when run php poller.php
Moderators: Developers, Moderators
So - what version of MySQL? And is the information correct in the config.php page of cacti?
If you provide more information it would be easier to troubleshoot. Can you connect to the web interface? Can you connect to the database as the cacti user? Did you already import the cacti.sql? Was this an existing install? All of this would help troubleshoot. =)
-p
If you provide more information it would be easier to troubleshoot. Can you connect to the web interface? Can you connect to the database as the cacti user? Did you already import the cacti.sql? Was this an existing install? All of this would help troubleshoot. =)
-p
uname -a
MySQL's version is 4.1.12pbulteel wrote:So - what version of MySQL? And is the information correct in the config.php page of cacti?
If you provide more information it would be easier to troubleshoot. Can you connect to the web interface? Can you connect to the database as the cacti user? Did you already import the cacti.sql? Was this an existing install? All of this would help troubleshoot. =)
-p
when runing php poller.php report these information
I can connect to the web interface http://localhost/cacti/
I can connect to database as the cacti user
I have import the cacti.sql when install cacti
Download the newest cacti-0.8.6e.tar.gz to install it
thanks again
Re: help help. have problem when run php poller.php
this problem have been solved.terryood wrote:when run php poller.php for test.but i get following message:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in /usr/local/cacti-0.8.6e/lib/adodb/drivers/adodb-mysql.inc.php on line 340
<br>Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
thanks help
I changed config.php with root user
database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "root";
$database_password = "************";
Who is online
Users browsing this forum: No registered users and 0 guests