Hello guys,
I've browse through, and found couple of articles on the connection for newbie,... still i cant find way to accomplish it. Below is my code, a simple code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>PHP/MySQL</title>
<?php
$link = mysql_connect('localhost', 'root', 'password') or die('Could not connect');
echo 'Connected successfully';
?>
</head>
<body>
</body>
</html>
The error received:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in D:\Program Files\Apache Group\Apache2\htdocs\myTesting\index.php on line 6
Could not connect
My testing environment:
Apache 2.0.52
MySQL Server 4.1
php-4.3.10-Win32
Please respond asap...
.muss