简体   繁体   English

典当,PHP和MySQL

[英]Pawn, PHP and MySQL

I am trying to connect to my MySQL host in Hostinger from Pawn language ... I do not know why I am getting these errors: 我正在尝试从Pawn语言以Hostinger连接到我的MySQL主机...我不知道为什么会出现这些错误:

[17:25:26] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL
server host 'mysql.hostinger.co.il' (0)
[17:25:26] [WARNING] CMySQLConnection::Disconnect - no connection available
[17:25:26] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host 'mysql.hostinger.co.il' (0)
[17:25:26] [WARNING] CMySQLConnection::Disconnect - no connection available
[17:25:26] [ERROR] CMySQLConnection::Connect - (error #2005) Unknown MySQL server host 'mysql.hostinger.co.il' (0)
[17:25:26] [WARNING] CMySQLConnection::Disconnect - no connection available

I will be very happy to get help. 我将很高兴获得帮助。

I'm sorry for my bad english. 对不起,我的英语不好。

It is obvious, 'mysql.hostinger.co.il' is not valid mysql host. 显而易见,“ mysql.hostinger.co.il”不是有效的mysql主机。 If you're trying to make remote connection, remote connection may be disallowed by Hostinger. 如果您尝试建立远程连接,Hostinger可能不允许远程连接。 If otherwise, just type 'localhost' instead of 'mysql.hostinger.co.il' 否则,只需键入“ localhost”而不是“ mysql.hostinger.co.il”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM