With run CACTID, Mysql Failed:not support auth protocol

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
boskets
Posts: 5
Joined: Wed Jan 18, 2006 10:01 pm

With run CACTID, Mysql Failed:not support auth protocol

Post by boskets »

Hi all , my mysql database version 5, ES3,PHP5,Apache2,cactid-0.8.6.g: step is :

1. tar zxvf cacti-cactid-0.8.6g.tar.gz
2. cd cacti-cactid-0.8.6.g
3. ./configure --with-mysql=/usr/local/mysql
4. make

after do it , I test my cactid and report like following :

[root@vmlinux cacti-cactid-0.8.6g]# ./cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: MYSQL: Connection Failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client



why ...online waiting.... THKS
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Add old-paswords to your my.ini file (whatever they use in linux). Then you'll need to run:

shell> UPDATE mysql.user SET Password = OLD_PASSWORD('cactipw') WHERE Host = 'localhost' AND User = 'cactiuser';
mysql> FLUSH PRIVILEGES;
boskets
Posts: 5
Joined: Wed Jan 18, 2006 10:01 pm

Post by boskets »

Thanks , let me try!
boskets
Posts: 5
Joined: Wed Jan 18, 2006 10:01 pm

Post by boskets »

Ok , Thank a lots.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Sounds like you have the latest version of MySQL, but an old version of the Client libraries. You should not have to utilize the old password hack in Cactid.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests