Help with MYSQL Server
#1

So i have one big problem i want to create a sa:mp server on this gamemode
http://forum.sa-mp.com/index.php?topic=71483.0

but i dont know how to set up the mysql server etc. can someone make a tutorial for me?
Reply
#2

1) Install XAMPP or MYSQL or get a free web MYSQL account from here
2) Configure them and set up your pass e.t.c
3) At the top of that script where it says
Code:
#define MYSQL_IP 							" " // ip/hostname
#define MYSQL_USER   					" " // mysql username
#define MYSQL_PASSWORD 					" " // mysql password
#define MYSQL_DATABASE 					" " // mysql database name
modify them to match your MYSQL info
4) Put all that Gamemodes files into your server files and make sure you server.cfg has
Code:
gamemodes lstne
plugins sampmysql
and also make sure you have a folder in your samp-server directory called plugins which has the MYSQL plugin in it (If you dont have it you can obtain it from here)
5) Set up your MYSQL account so it has all the tables needed for that gamemode
6) Run your server
Reply
#3

if you use the web then you get 15 ton of pop ups!
Reply
#4

huh hard xD but i try xD
Reply
#5

Quote:
Originally Posted by harrold
if you use the web then you get 15 ton of pop ups!
Thats probly ur PC lol, Works fine for everyone else
Reply
#6

Really no pop ups?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)