Jump to content

mysql_connect() problem


okok

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?
Link to comment
https://forums.phpfreaks.com/topic/8960-mysql_connect-problem/
Share on other sites

Archived

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

×
×
  • Create New...

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.