我正在使用 localhost 和 UniServer,运行 Apache 和 MySQL。(没有用户名或密码)
我有new mysqli("http://localhost/us_phpmyadmin/","","","url_short");
连接到本地主机服务器的代码,但是当我尝试运行代码时mysqli_query("INSERT INTO cut.it VALUES (NULL, $longurl, $shorturl)");
,页面上出现错误php_network_getaddresses: getaddrinfo failed: No such host is known.
。为什么会这样,我该如何解决?
问问题
11074 次