Mysql connection
#1

How to connect to this ip? mysql.hostinger.hu

I have an error when start the gamemode, "[SQL] Connection to "mysql.hostinger.hu" failed! Please check the connection settings..."

But the ip is working, i can use the phpMyadmin and anodheter stuffs..
Reply
#2

Don't. External MySQL connections are too slow and will cause poor performance and/or lag in your scripts. You will most likely want to use localhost (when the script is ran on the server localhost refers to that machine, not your own).
Reply
#3

Usually the server which runs your script should also hold the MySQL database for best performance.
I can't think of any reason why your script needs to connect to an external MySQL database.

If your host doesn't have MySQL, find another host.
Reply
#4

I think hostinger doesn't allow any remote connections! Why not try using any other?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)