Client doesn't support authentication protocol requested by.
Moderators: Developers, Moderators
Client doesn't support authentication protocol requested by.
Trying again Cacti 0.85 on W2K IIS 5.0 I get this error message when trying to run Cacti :
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 318
Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
I'm running the IIS in CGI mode.
Any ideas what is going wrong ?
Pumpi
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 318
Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
I'm running the IIS in CGI mode.
Any ideas what is going wrong ?
Pumpi
Does this problem description match your configuration?
http://www.mysql.com/doc/en/Old_client.html
- Piotr
http://www.mysql.com/doc/en/Old_client.html
- Piotr
I have been using mysql 4.1, and get this problem. It is fixed by reading
http://www.mysql.com/doc/en/Old_client.html . Below is what I chose to do.
Add the following option to your my.cnf file in the [mysqld] section:
Stop and start mysqld:
Use your mysql client to log in:
Convert your password to the old password format (<16 chars):
http://www.mysql.com/doc/en/Old_client.html . Below is what I chose to do.
Add the following option to your my.cnf file in the [mysqld] section:
Code: Select all
[mysqld]
# other options here
old-passwords
Code: Select all
service mysql restart
Code: Select all
mysql -u root -p mysql
Code: Select all
UPDATE mysql.user SET Password = OLD_PASSWORD('cactipass') where User="cactiuser";
Code: Select all
flush privileges;
Who is online
Users browsing this forum: No registered users and 2 guests