using the code:
$user="uname";
$host="localhost";
$password="passwd";
$database = "operationass";
$connection = mysql_connect($host, $user, $password)
or die (mysql_error());
$db = mysql_select_db($database, $connection)
or die ("Couldnt select database");
I was once able to connect to my database.
I was having some troubles with mysql so I decided to reload Mysql 5.0.
Now when i load the page with this script I get the following error:
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Documents and Settings\Jeffrey Klassen\My Documents\website\operationass\content.php on line 9
So i reinstalled mysql 5.0 and then mysql 4.1 both resulting in the same error.
What is going on?