Bonjour,
J'ai un lien de mon menu qui m'affiche un tableau avec des enregistrements issus d'une bdd mysql.
Un fichier "connect.php" est invoqué avec la fonction include() en début de fichier.
Si, depuis mon menu, je sollicite mon lien plusieurs fois de suite (des clics répétés), j'obtiens au bout de 6 à 8 clics les Warning suivants :
==============================
Warning: mysql_connect(): Can't connect to MySQL server on 'localhost' (10048) in c:\program files\easyphp1-7\www\stiprof_acad\php\connect.php on line 10
Warning: mysql_select_db(): Can't connect to MySQL server on 'localhost' (10048) in c:\program files\easyphp1-7\www\stiprof_acad\php\connect.php on line 12
Warning: mysql_select_db(): A link to the server could not be established in c:\program files\easyphp1-7\www\stiprof_acad\php\connect.php on line 12
Warning: mysql_query(): Can't connect to MySQL server on 'localhost' (10048) in c:\program files\easyphp1-7\www\stiprof_acad\php\connect.php on line 14
Warning: mysql_query(): A link to the server could not be established in c:\program files\easyphp1-7\www\stiprof_acad\php\connect.php on line 14
Erreur mysql n°2003 :Can't connect to MySQL server on 'localhost' (10048)
=============================
Il me faut alors patienter une à deux minutes pour qu'une nouvelle connexion à la bdd soit possible.
Je ne comprends pas pourquoi et ne sais pas à quoi cela est du.
Si quelqu'un peu m'éclairer ...
Par avance merci.
Gilles

 

 
		
		 
         
 

 
			
			
 
   


 problème innatendu de connexion mysql
 problème innatendu de connexion mysql
				 Répondre avec citation
  Répondre avec citation
Partager