带有Servername的phpmyadmin的错误连接

发布于 2025-02-09 07:17:45 字数 293 浏览 1 评论 0原文

因此,我认为错误是PhpMyAdmin配置中的某些内容,但我不知道到底是什么 如果我尝试使用php连接到数据库,则如果我在serverdbname上使用localhost,则可以使用。 但是,如果i变量serverdbname我放置了webname.com,它不起作用,但也没有任何错误。 enter Image Description

​a>

So I think the error is something from the phpmyadmin configuration but i dno'tknow what exactly
If i try to connect to my database with php it work if i use localhost on the serverdbname.
But if i the variable serverdbname i put the webname.com it doesn't work but also it doesn't give any error.
enter image description here

enter image description here

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风尘浪孓 2025-02-16 07:17:45

如果允许您的地址“ webname.com”进行远程连接,则可以将其作为主机名称。因此,首先,您需要在远程连接中提供它。然后,您可以将DNS名称或IP地址用作主机名。

If your address "webname.com" is allowed to take remote connection you can put it as host name. So First you need to make it available in remote connection. Then you can use the dns name or it's ip address as host name.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文