mysql remote host issue - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql remote host issue (
/showthread.php?tid=347388)
mysql remote host issue -
mati233 - 01.06.2012
Hi guys,
I'm testing my samp server on localhost, and I had the database on my localhost as well, working just fine, but now that I moved my database to a remote database, I keep getting this error:
PHP Code:
[18:25:21] CMySQLHandler::Connect() - Can't connect to MySQL server on '188.93.230.15' (10060) (Error ID: 2003)
I've already checked on the cpanel of my remote host and everything seems just fine. I added my IP to the remote connections successfuly (please don't tell me to check if the Ip is correct, because it is) and turned off my firewall, but the error is the same...
Does anyone have any suggestion?
Re: mysql remote host issue -
sanrock - 01.06.2012
use 127.0.0.1
for localhost
Re: mysql remote host issue -
mati233 - 01.06.2012
Did you at least read what I said?
I'm using a remote database, it is not on my localhost -.-
Re: mysql remote host issue -
[Diablo] - 01.06.2012
hm do you use the default mysql port - 3306?
Re: mysql remote host issue -
mati233 - 01.06.2012
Yes, the port is 3306...
Re: mysql remote host issue -
mati233 - 01.06.2012
nevermind guys, got it working now, thanks anyways.
I will not share what was the source of this issue, because I don't know either, it just started working now...
Thanks