Mysql connection - 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 connection (
/showthread.php?tid=560345)
Mysql connection -
n00el - 28.01.2015
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..
Re: Mysql connection -
Vince - 28.01.2015
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).
Re: Mysql connection -
PowerPC603 - 28.01.2015
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.
Re: Mysql connection - Guest4390857394857 - 28.01.2015
I think hostinger doesn't allow any remote connections! Why not try using any other?