SA-MP Forums Archive
[Fixed] SQL Won't Load - 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: [Fixed] SQL Won't Load (/showthread.php?tid=155465)



[Fixed] SQL Won't Load - Antonio [G-RP] - 18.06.2010

Arg, I finally finished the SQL system for login/reg.

I have the correct plugin, and all the SQL tables.

Still, the server stops (freezes) on 'Connected.. '


Re: SQL Won't Load - coole210 - 18.06.2010

Use localhost


Re: SQL Won't Load - Antonio [G-RP] - 18.06.2010

It is on 127.0.0.1 (localhost)


Re: SQL Won't Load - Calgon - 18.06.2010

Could you paste your OnGameModeInit queries?


Re: SQL Won't Load - Antonio [G-RP] - 18.06.2010

You mean these..?

pawn Код:
Object_Object();
    mysql_connect( SQL_HOST, SQL_USER, SQL_PW, SQL_DB );
    // Settings
    SetGameModeText("G:RP v 1.0");
    AllowInteriorWeapons(1);
    EnableTirePopping(1);
    EnableStuntBonusForAll(0);
    ShowPlayerMarkers(1);
    SetNameTagDrawDistance(10.0);
    DisableInteriorEnterExits();



Re: SQL Won't Load - lolumadd - 18.06.2010

If you are using 'localhost' or '127.0.0.1' make sure your password is '' and your username is 'root'


Re: SQL Won't Load - Antonio [G-RP] - 18.06.2010

The SQL is hosted on my server, and there is a password.


Re: SQL Won't Load - coole210 - 18.06.2010

which mysql plugin u using?

edit: if ur using g-stylez.

It goes like this:

host,user,db,pass

edit#2: nvm ur using StrickenKids

Try this as host: 10.0.0.1




Re: SQL Won't Load - Antonio [G-RP] - 18.06.2010

Didn't even load with 10.0.0.1


Re: SQL Won't Load - FUNExtreme - 18.06.2010

Can you show us your OnPlayerConnect mysql code