SA-MP Forums Archive
Trouble with MySQL. Configuration database. - 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: Trouble with MySQL. Configuration database. (/showthread.php?tid=355762)



Trouble with MySQL. Configuration database. - Kerth - 01.07.2012

Hi,
At the beginning sorry for my english.
I need help in programming MySQL. How to set up the database?

I have this code:

Код:
#define MYSQL_HOST	""
#define MYSQL_USER	""
#define MYSQL_PASS	""
#define MYSQL_DB	""
I have a server for hosting MaxRate.pl

Please help


Re: Trouble with MySQL. Configuration database. - doreto - 01.07.2012

Код:
#define MYSQL_HOST	"Your host name here"
#define MYSQL_USER	"Your username here"
#define MYSQL_PASS	"Password on username"
#define MYSQL_DB	"Datebase you create "
HERE* and HERE* you can find everything you need to know about mysql