j3r3m067
Messages postés99Date d'inscriptionmardi 25 août 2009StatutMembreDernière intervention28 juin 2011
-
3 déc. 2009 à 14:06
j3r3m067
Messages postés99Date d'inscriptionmardi 25 août 2009StatutMembreDernière intervention28 juin 2011
-
4 déc. 2009 à 08:26
sur mon serveur intranet, j'ai ma fiche index.php:
<?php
mysql_connect("192.168.16.86:3306", "root", "root");
mysql_select_db("cardio");
$rst = mysql_query("select * from patients");
while ($row = mysql_fetch_array($rst))
{
echo $row[1]
}
?>
et j'ai les erreurs suivante:
Warning: mysql_connect() [function.mysql-connect]: Host 'ZB58F09.hus.chru-strasbourg.fr' is not allowed to connect to this MySQL server in C:\www\cardio\index.php on line 2
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\www\cardio\index.php on line 3
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\www\cardio\index.php on line 3
Warning: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\www\cardio\index.php on line 4
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\www\cardio\index.php on line 4
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\www\cardio\index.php on line 5