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)
+--- Thread: MySQL.. (
/showthread.php?tid=387092)
MySQL.. -
Banaaniaju - 23.10.2012
Hi all.
I have this gamemode:
https://sampforum.blast.hk/showthread.php?tid=359213
And i have to edit these things:
Quote:
#define mysql_host ""
#define mysql_user ""
#define mysql_password ""
#define mysql_database
|
But i can't understand..
What is mysql_host?? what i should write there?
mysql_user?? do i have to register somewhere?
mysql_database? uhmm what is that?
Please someone explain what i should do, giving +rep for sure
Re: MySQL.. -
doreto - 23.10.2012
Quote:
Originally Posted by Banaaniaju
Please someone explain what i should do, giving +rep for sure 
|
LINK
mysql_host is for connecting to database
mysql_database - for choice one of the database (if you have more then 1,NOTE: you can only connect into 1 db )
mysql_user - its like username you fill it wich your username create for db
if you are using localhost (such us XAMPP)
hostname = localhost
username = root
password = " " - no password
if your gm/fs is mysql based , then you require to use mysql servar to store and use the information or else nothing will be saved after serer stop