mysql connection problem

In Corso Pubblicato May 14, 2007 Pagato alla consegna
In Corso Pagato alla consegna

i got mysql connection problem, host [url removed, login to view]

<?php

//Connect To Database

$hostname="mysql##.secureserver.net";

$username="myusername";

$password="your_password";

$dbname="mydbname";

$usertable="your_tablename";

$yourfield = "your_field";

mysql_connect($hostname,$username, $password) OR DIE ("Unable to connect to database! Please try again later.");

mysql_select_db($dbname);

$query = "SELECT * FROM $usertable";

$result = mysql_query($query);

if($result) {

while($row = mysql_fetch_array($result)){

$name = $row["$yourfield"];

echo "Name: ".$name;

}

}

?>

got error : "Client does not support authentication protocol requested by server"

if any one solve this bug before, please welcome to bid on this project

further details proivides to selected bidder

its urgent

lower bidder win, budget $30

Progettazione Siti Web

Rif. progetto: #145215

Info sul progetto

22 proposte Progetto a distanza Attivo May 14, 2007