[Fixed] SQL Won't Load
#1

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.. '
Reply
#2

Use localhost
Reply
#3

It is on 127.0.0.1 (localhost)
Reply
#4

Could you paste your OnGameModeInit queries?
Reply
#5

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();
Reply
#6

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

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

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

Reply
#9

Didn't even load with 10.0.0.1
Reply
#10

Can you show us your OnPlayerConnect mysql code
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)