I contracted with someone years ago to create my simple commercial web site. I do not know PHP or MySQL and can no longer find the consultant. But the site has worked fine all these years until recently when my web hosting service (phpwebhosting) has done something to has cause an error any time anyone goes to my “Contact us” page. I get this error:
Warning: mysql_pconnect() [function.mysql-pconnect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/ddd/www/Connections/Master_DB.php on line 9
Fatal error: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/ddd/www/Connections/Master_DB.php on line 9
Here is the code in that file:
<?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_Master_DB = "localhost"; $database_Master_DB = "contact_us"; $username_Master_DB = "dcfrench"; $password_Master_DB = "welcome08"; $Master_DB = mysql_pconnect($hostname_Master_DB, $username_Master_DB, $password_Master_DB) or trigger_error(mysql_error(),E_USER_ERROR); ?>I can see which line to change but I confess I don’t know what to change it to. I will be very grateful for any suggestions.