que veut tu dire par :
en fait je pensais créer un vhost mysql.domain.com et le mettre en temps que serveur a la place de localhost
[quote]root@cluster:~# netstat -tlnp
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2706/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 9947/pop3-login
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 8288/imap-login
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2915/pure-ftpd (SER
tcp 0 0 91.121.33.54:53 0.0.0.0:* LISTEN 2435/named
tcp 0 0 94.23.217.87:53 0.0.0.0:* LISTEN 2435/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2435/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2941/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 20917/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 2435/named
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 8288/imap-login
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 9947/pop3-login
tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 2813/postgrey.pid -
tcp6 0 0 :::80 :::* LISTEN 24391/apache2
tcp6 0 0 :::21 :::* LISTEN 2915/pure-ftpd (SER
tcp6 0 0 ::1:53 :::* LISTEN 2435/named
tcp6 0 0 :::22 :::* LISTEN 2941/sshd
tcp6 0 0 ::1:953 :::* LISTEN 2435/named
tcp6 0 0 :::443 :::* LISTEN 24391/apache2
[/quote]
ping depuis cmd(windows)

fichier hosts
[quote]# Do not remove the following line, or various programs
that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
94.23.217.87 cluster.nexoop.com cluster
127.0.1.1 cluster.nexoop.com cluster
87.98.183.17 mysql.nexoop.com mysql
The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts[/quote]
[quote]DNS servers
ns1.nexoop.com [94.23.217.87]
ns2.nexoop.com [91.121.33.54]
Answer records
mysql.nexoop.com A 94.23.217.87 86400s
Authority records
nexoop.com NS ns1.nexoop.com 86400s
nexoop.com NS ns2.nexoop.com 86400s
[/quote]
[quote]PING mysql.nexoop.com (87.98.183.17) 56(84) bytes of data.
64 bytes from mysql.nexoop.com (87.98.183.17): icmp_req=1 ttl=64 time=0.050 ms[/quote]
bon problème resolu …
j’ai installer une second phpmyadmin et ajouté un nom de serveur :

maintenant au niveau requete :
[quote]mysql_connect(“mysql.nexoop.com”, “olivxii8”, “******”); // Connexion à la base de données
mysql_select_db(“db5c9sVSk”);
$res=mysql_query("SELECT * FROM clients ")or die(mysql_error());
$row = mysql_fetch_assoc($res);
$pseudo = $row[‘pseudo’];
echo $pseudo;[/quote]
resultat : olivxii
tout est ok
merci