<?php
$con = mysqli_connect("localhost","root","password","shoutit", "80");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
?>
当我尝试运行时,我收到
的错误消息未知数据库。
官方文档中的某些内容如何起作用?我无法找到解决方案。添加&#34; 80&#34; port使它永远加载。