Mysql connection - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Mysql connection (
/showthread.php?tid=559176)
Mysql connection -
n00el - 21.01.2015
Hello i have a mysql server in 'mysql.hostinger.hu'
And how to connect to this host? its lot localhost or 86.432.123 or anything...But in programs this hostname is works.
In samp, not: "Connection to "mysql.hostinger.hu" failed! Please check the connection settings..."
How to connect?
Re: Mysql connection -
TheCoopster - 21.01.2015
You gotta' add the port of the connection to the IP. Ex: 127.0.0.1:2883.
Re: Mysql connection -
Vince - 21.01.2015
Don't use external MySQL hosts unless you want to experience poor performance and extreme delays in data transfers. Any respectable SA-MP host will offer you a database on one of their own servers.
Re: Mysql connection -
Sergei - 21.01.2015
You need to setup "Remote MySQL", but that is not available for free accounts on Hostinger. As others pointed out, external MySQL server is not recommended.