Hallo ich habe beim Connecten Probleme
stelle im Script:
public OnGameModeInit()
{
if(srvmode == 1) //PUBLIC
mysql_connect("localhost","ni30799_1_DB","*******","ni30799_1_DB");
else if(srvmode == 2) //VIDEO
{
mysql_connect("localhost","ni30799_1_DB","********","ni30799_1_DB");
ShowNameTags(0);
} else
mysql_connect("localhost","ni30799_1_DB","*********","ni30799_1_DB");
Serverlog:
SA-MP Dedicated Server
----------------------
v0.3e-R2, (C)2005-2012 SA-MP Team
[17:00:15]
[17:00:15] Server Plugins
[17:00:15] --------------
[17:00:15] Loading plugin: mysql.so
[17:00:15] SA:MP MySQL Plugin v2.1.1 Loaded.
[17:00:15] Loaded.
[17:00:15] [MySQL] Thread running. Threadsafe: Yes.
[17:00:15] Loading plugin: nativechecker.so
[17:00:15] Loaded.
[17:00:15] Loaded 2 plugins.
[17:00:15]
[17:00:15] Filterscripts
[17:00:15] ---------------
[17:00:15] Loading filterscript 'gl_actions.amx'...
[17:00:15] Loading filterscript 'rcon.amx'...
[17:00:15] -> RCON MODULE LOADED
[17:00:15] Loaded 2 filterscripts.
[17:00:15] [MySQL] Error (0): Function: mysql_connect failed, mysql was not initialized on this handle.
hoffe ihr könnt mir helfen