这是我的配置文件:
$mysql_hostname = "localhost";
$mysql_user = "xyz";
$mysql_password = "abc";
$mysql_database = "mno";
$IT = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Opps some thing went wrong");
mysql_select_db($mysql_database, $IT) or die("Opps some thing went wrong");
这是我从中得到的警告:
警告:mysql_connect() [function.mysql-connect]: 无法通过 /home/content/03/10531303/html/ 中的套接字 '/var/lib/mysql/mysql.sock' (2) 连接到本地 MySQL 服务器iqamah.org/config.php 第 13 行
我怎样才能解决这个问题?