Bonjour tout le monde

Je n'arrive pas à afficher mon tableau avec mes données.

voici les warnings.

Warning: mysql_select_db() [
function.mysql-select-db
]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /data/www/****/****/admin/supadm.php on line 307

Warning: mysql_select_db() [
function.mysql-select-db
]: A link to the server could not be established in /data/www/****/****/admin/supadm.php on line 307

Warning: mysql_query() [
function.mysql-query
]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /data/www/****/****/admin/supadm.php on line 312

Warning: mysql_query() [
function.mysql-query
]: A link to the server could not be established in /data/www/****/****/admin/supadm.php on line 312

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /data/www/****/****/admin/supadm.php on line 320

Warning: mysql_close(): no MySQL-Link resource supplied in /data/www/****/****/admin/supadm.php on line 340

Voici le code php


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 
<?php	
 
	require_once('ConnexionMysql.php');
 
	mysql_select_db($base);//ligne 307	
 
	$reqSQL="SELECT them FROM themevideo";
 
 
	$repSQL = mysql_query($reqSQL);//ligne 312
 
 
	while ($lign = mysql_fetch_array(repSQL ))//ligne 320
	{
 
?>	
     <table width='400'>
        <tr><td>
 
	<table width='400' border='1' bordercolor='#CC0000' align='center' cellspacing='0'>
    <tbody id='tabletheme'>
      <tr> 
       <td><?php echo $lign['them'] ?></td>
       </tr>
      </tbody>
     </table>
 
<?php
 
}
mysql_close();
 
?>

Pourriez vous me dire ce qui pose problème?

Merci
A +