SA-MP Forums Archive
My host doesnt have rights. +1.. - 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: My host doesnt have rights. +1.. (/showthread.php?tid=498139)



My host doesnt have rights. +1.. - HK - 02.03.2014

Hello guys, my script works fine on my home PC but when its uploaded to smartbytes then its fucking.

im getting this error:

pawn Код:
[04:25:10] [ERROR] CMySQLHandler::Connect() - Host '95.211.180.224' is not allowed to connect to this MySQL server (error ID: 1130).



Re: My host doesnt have rights. +1.. - Vince - 02.03.2014

Use localhost. It looks like you're doing a loopback over the external IP, which is frankly just stupid.


Re: My host doesnt have rights. +1.. - HK - 03.03.2014

duuude, it needs to load from my mysql server from smartbytes.........


Re: My host doesnt have rights. +1.. - PowerPC603 - 03.03.2014

You have your script running on one server and MySQL on another?

Usually, both run on the same system for best performance.


Re: My host doesnt have rights. +1.. - iZN - 03.03.2014

No hosting allows you to connect to the database with any other IP other than the localhost (mostly) or, any specific IP set by the hosting company.


Re: My host doesnt have rights. +1.. - Vince - 03.03.2014

Quote:
Originally Posted by HK
Посмотреть сообщение
duuude, it needs to load from my mysql server from smartbytes.........
Well, duh. I don't quite think you realize what localhost refers to in different circumstances. Every computer or server has one or more localhost (loopback) addresses. If the scripts runs on the server then localhost evidently refers to that server, not your home computer.