带有Servername的phpmyadmin的错误连接
因此,我认为错误是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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果允许您的地址“ 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.