SA-MP Forums Archive
Help with mysql - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with mysql (/showthread.php?tid=92204)



Help with mysql - silvan - 18.08.2009

hi peaple, i tried to work myself on it.. but the problem is that its loading the plugin... but its giving me an error on " File or function is not found. "

please help me


this is my config:

echo Executing Server Config...
plugins mysql
lanmode 0
rcon_password -----
maxplayers 32
port 7777
hostname Malta Role Play
gamemode0 mrp 1
filterscripts adminspec vactions
announce 1
query 1
weburl www.sa-mp.com
anticheat 0
password ----


This is my DB details:

( At the begining of the GM )
#define MYSQL_HOST "localhost"
#define MYSQL_USER "root"
#define MYSQL_PASS "----"
#define MYSQL_DB "sampserver"

( Under OnGameModeInt )
samp_mysql_connect("MYSQL_HOST","MYSQL_USER","MYSQ L_PASS");
samp_mysql_select_db("MYSQL_DB");

please note that fields marked with " ---- " is done that by purpose... ( because can't risk a hack ) tghou thanks for help


Re: Help with mysql - Eazy_Efolife - 18.08.2009

Ask in the MYSQL post!

http://forum.sa-mp.com/index.php?topic=79352.0