Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

Edit the my.ini file

New versions of MySQL (4.1 and above) use a new method of authentication and are incompatible with PHP versions below PHP 5. Basically, new versions of MySQL changed the way passwords are stored and PHP has not been updated to use the new format.

You will get a message similar to

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

One of the following options can be used to correct this issue:

  1. Add the following line just below the [mysqld] line in the my.ini file (usually located in the folder where MySQL is installed):

    old-passwords

    Note: We recommended trying this option first.

    -or-

  2. Update the passwords in the database to use the old format, rather than the new format - See: http://dev.mysql.com/doc/refman/4.1/en/old-client.html

    -or-

  3. Upgrade PHP to version 5.0+, and ensure the mysqli extension is installed and is being used (change the database type to "mysqli" in config.php in AWM).

    Note: This option requires the latest version of PHP as well as MySQL.

The MySQL server will need to be restarted after any changes. In addition the awm_site users password might need to be reset.

See Also

Installing on a Local Web Server Using IIS

Install MySQL Query Browser and Create the Default User

Add the Website Manager Database Structure

Install Website Manager

Update Permissions for IIS User

Edit the php.ini file

Adding the Serial Number

Login to the Website Manager Admin Area

Top of Page Email this Page Log Support Call Send Feedback Print