MySQL Forums
Forum List  »  PHP

Re: Error connecting to MySQL from phpbb setup
Posted by: Jonathan Stephens
Date: May 11, 2005 08:22PM

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

Very likely the problem is that you're trying to use the PHP mysql extension with MySQL 4.1.

Your options are:

1. Use PHP 5's mysqli extension (see php.net/mysqli).

2. Downgrade to MySQL 4.0.

3. Configure MySQL to use --old-passwords.

On the MySQL end of things, some good places to get started finding out more would be http://dev.mysql.com/doc/mysql/en/old-client.html and http://dev.mysql.com/doc/mysql/en/php-problems.html

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: Error connecting to MySQL from phpbb setup
May 11, 2005 08:22PM
May 11, 2005 11:15PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.