Jump to content

Archived

This topic is now archived and is closed to further replies.

okok

mysql_connect() problem

Recommended Posts

I installed mysql 5 on a MS-XP machine running apache 1.3 and php 4.

When a php script attempts to connect to mysql using

[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]mysql_connect($host, $user, $pass)[!--colorc--][/span][!--/colorc--]

the following error appears:

[!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL[!--colorc--][/span][!--/colorc--] ...

When I use the same hostname, username and password via the commandline or from a GUI frontend, the connection works as it should.

What may be wrong?

Share this post


Link to post
Share on other sites
Go here

[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=92645\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=92645[/a]

Ray

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.