SA-MP Forums Archive
MYSQL +REP FAST - 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 +REP FAST (/showthread.php?tid=566863)



MYSQL +REP FAST - StarPeens - 08.03.2015

I was using mysql as registration and login, but I did not have a host to host, I walked into my server and was born and played normal. Now caught a panel sql to save the files of the players, but now does not appear to make registration box. Can someone help me? I really need help .. + rep
pawn Код:
//MySQL:
#define SQL_HOST   "cant say"
#define SQL_USER   "cant say"
#define SQL_PASS   "cant say"
#define SQL_DATA   ""



Re: MYSQL +REP FAST - FShiwani - 08.03.2015

Looking at the code, it seems you haven't specified the database to for mySQL to use.


Re: MYSQL +REP FAST - StarPeens - 08.03.2015

Quote:
Originally Posted by FShiwani
Посмотреть сообщение
Looking at the code, it seems you haven't specified the database to for mySQL to use.
example?


Re: MYSQL +REP FAST - oliverrud - 08.03.2015

#define SQL_DATA "example"


Re: MYSQL +REP FAST - StarPeens - 08.03.2015

Quote:
Originally Posted by oliverrud
Посмотреть сообщение
#define SQL_DATA "example"
what i need put?


Re: MYSQL +REP FAST - Abagail - 08.03.2015

So you're posting the password of your MySQL database? That is smart.


Re: MYSQL +REP FAST - oliverrud - 08.03.2015

Quote:
Originally Posted by StarPeens
Посмотреть сообщение
what i need put?
You need to put the name of the database you have created for your server.


Re: MYSQL +REP FAST - StarPeens - 08.03.2015

Quote:
Originally Posted by Abagail
Посмотреть сообщение
So you're posting the password of your MySQL database? That is smart.
painel free.


Re: MYSQL +REP FAST - Abagail - 08.03.2015

Quote:
Originally Posted by StarPeens
Посмотреть сообщение
painel free.
You shouldn't put your MySQL database information if you're using it for anything... You should probably change the password.


Re: MYSQL +REP FAST - StarPeens - 08.03.2015

Quote:
Originally Posted by Abagail
Посмотреть сообщение
You shouldn't put your MySQL database information if you're using it for anything... You should probably change the password.
changed, but could you help me? I go on my server to registration box does not appear ... will be that it is because I did not put anything here:
#define SQL_DATA ""
WHAT should I put? where I caught?