Dvbbs.php info: Can not connect to MySQL server php_errormsg: The URL Is: http://www.mejoin.com/0518/install/install.php?language=sc_gbk&setupaction=chkconfig Errno: 2013 Error: Lost connection to MySQL server during query
<?php // we connect to example.com and port 3307 $link = mysql_connect('example.com:3307', 'mysql_user', 'mysql_password'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link);// we connect to localhost at port 3307 $link = mysql_connect('127.0.0.1:3307', 'mysql_user', 'mysql_password'); if (!$link) { die('Could not connect: ' . mysql_error()); } echo 'Connected successfully'; mysql_close($link); ?> 还有开启你对应的端口。
php_errormsg:
The URL Is: http://www.mejoin.com/0518/install/install.php?language=sc_gbk&setupaction=chkconfig
Errno: 2013
Error: Lost connection to MySQL server during query
// we connect to example.com and port 3307
$link = mysql_connect('example.com:3307', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);// we connect to localhost at port 3307
$link = mysql_connect('127.0.0.1:3307', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?> 还有开启你对应的端口。
请试用www.iebang.com为您提供的网址收藏服务吧!
IE邦是基于网民自发的网址收藏服务。