SAMP SERVER AND MYSQL QUESTION - 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: SAMP SERVER AND MYSQL QUESTION (
/showthread.php?tid=613168)
SAMP SERVER AND MYSQL QUESTION -
Ankon - 25.07.2016
Hey guys just this simple question...
Is it necessary for a mysql database to run on the same machine as the samp server in order for the samp server to work on the database?
Also is it possible to access the database through remote access...?
Please answer...
Re: SAMP SERVER AND MYSQL QUESTION -
justjamie - 25.07.2016
It is possible to do it from remote access, yes.
Re: SAMP SERVER AND MYSQL QUESTION -
Fantje - 25.07.2016
It is possible to have acces trough remote. Just buy a host that includes a mysql database. I doesn't make that much sense if you run the server and mysql DB at the same host.
Re: SAMP SERVER AND MYSQL QUESTION -
Ankon - 26.07.2016
Thanks friends for the valuable answers...
Re: SAMP SERVER AND MYSQL QUESTION -
Vince - 26.07.2016
While it is generally possible to use an off-site database, this is not recommended because this is
incredibly slow compared to a database on the local network. All the data needs to be transmitted over the Internet (which is also less secure). If a query takes 10 milliseconds on a local machine, it can easily take 100 milliseconds on a remote machine because of the ping. That is is a modest ping of 45 milliseconds (back and forth) and is already 10 times slower.