Warning: mysqli_connect() [function.mysqli-connect]: php_network_getaddresses: gethostbyname failed. errno=2 in D:\wwwroot\mj3dwell\wwwroot\mySql.php on line 9

Warning: mysqli_connect() [function.mysqli-connect]: [2002] php_network_getaddresses: gethostbyname failed. errno=2 (trying to connect via tcp://localhost:3306) in D:\wwwroot\mj3dwell\wwwroot\mySql.php on line 9

Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2002): php_network_getaddresses: gethostbyname failed. errno=2 in D:\wwwroot\mj3dwell\wwwroot\mySql.php on line 9

Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in D:\wwwroot\mj3dwell\wwwroot\mySql.php on line 11
数据库连接错误,错误信息是.php_network_getaddresses: gethostbyname failed. errno=2