Mac OS X Server 10.4: PHP and MySQL authentication issues

  • Last Modified: September 09, 2008
  • Article: TS2243
  • Old Article: 301456

Symptoms

The version of PHP included with Mac OS X Server 10.4 uses older client libraries than the version of MySQL Server that's also included. This may cause authentication errors when using PHP, such as this message:

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in....

Products Affected

Mac OS X Server 10.4

Resolution

To work around this issue, see the workarounds described here:
http://dev.mysql.com/doc/mysql/en/old-client.html

Not helpful Somewhat helpful Helpful Very helpful Solved my problem