mysql_connect issues...

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
tandrews
Posts: 19
Joined: Mon Mar 14, 2005 3:14 pm

mysql_connect issues...

Post by tandrews »

I'm setting up Cacti on a Windows 2003 server (and IIS). All components have been installed according to the windows install instructions, but I am getting an error when I connect to the server with a browser at http://10.2.0.4/cacti ...

I get the following:

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 339

The config.php file contains the following:

$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";

What did I miss?

Thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Search the forums, the answer is in here.

It is due to the fact that you are using mysql version 4.x something and that it's not configured to accept old passwords.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests