像这样一种情况,一个文件里定义了所有的MYSQL数据库连接。其他页面进行数据库连接时,require这个文件。那么index.php的实际mysql连接数是多少?1个还是4个?谢谢。database_connect.inc
$db1 = @mysql_connect("localhost","root","xxx") or die("can not connect Mysql Server");
$db2 = @mysql_connect("localhost","root1","xxx") or die("can not connect Mysql Server");
$db3 = @mysql_connect("localhost","root2","xxx") or die("can not connect Mysql Server");
$db4 = @mysql_connect("localhost","root3","xxx") or die("can not connect Mysql Server");index.phprequire dirname(__FILE__) . '/../database_connect.inc';
mysql_select_db("users",$db3);