MYSQL Script - 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 Script (
/showthread.php?tid=401129)
MYSQL Script -
Jing_Chan - 21.12.2012
if(!IsBETAServer()) {
g_MySQLConnections[0] = mysql_connect("localhost", "root", "hrp", "");
} else
g_MySQLConnections[0] = mysql_connect("91.204.210.27", "5892_server", "5892_server", "skole123");
What would go where, could somebody define this for me such as
if(!IsBETAServer()) {
g_MySQLConnections[0] = mysql_connect("hostname"
Thanks, I have not handled MYSQL before and do not know what to do, many thanks in advance.