My host doesnt have rights. +1..
#1

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).
Reply
#2

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

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

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

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

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.
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)