Jump to content

Mysql Client


phpSensei

Recommended Posts

Warning: mysql_pconnect() [function.mysql-pconnect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /home/dir/public_html/Connections/filename.php on line 9

 

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_richardsgarage = "localhost";
$database_richardsgarage = "xxxxx";
$username_richardsgarage = "xxxxx";
$password_richardsgarage = "xxxxx";
$richardsgarage = @mysql_connect($hostname_richardsgarage, $username_richardsgarage, $password_richardsgarage) or die(mysql_error());
$database = mysql_select_db($database_richardsgarage);
if($richardsgarage){
echo 'Connected';
}
else
{
echo 'Not Connected';
}

?>

Link to comment
https://forums.phpfreaks.com/topic/84509-mysql-client/
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.