SA-MP Forums Archive
Mysql problem ! I need help :| - 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 problem ! I need help :| (/showthread.php?tid=405632)



Mysql problem ! I need help :| - Jony_Cruze - 07.01.2013

On my gamemodeint

pawn Код:
mysql_connect(SQL_HOST,SQL_USER,SQL_DB,SQL_PASS);
On my gamemode :

pawn Код:
#define MAP_NAME    "Los Santos"
#define PASSWORD    ""
#define SQL_HOST "111.222.333.1"
#define SQL_USER "blablabla"
#define SQL_PASS "blalala"
#define SQL_DB "sadsada"
error in mysql_log
pawn Код:
[Mon Jan 07 15:42:56 2013] -------------------------
[Mon Jan 07 15:42:56 2013]      Logging Started
[Mon Jan 07 15:42:56 2013] -------------------------
[Mon Jan 07 15:42:56 2013] Error (0): Function: mysql_connect failed, mysql was not initialized on this handle.
The mysql is updated at 0.3e !!
I need help please !!