Help with MYSQL Server - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help with MYSQL Server (
/showthread.php?tid=67417)
Help with MYSQL Server -
sekol - 01.03.2009
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?
Re: Help with MYSQL Server -
ICECOLDKILLAK8 - 02.03.2009
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
Re: Help with MYSQL Server -
harrold - 02.03.2009
if you use the web then you get 15 ton of pop ups!
Re: Help with MYSQL Server -
sekol - 03.03.2009
huh hard xD but i try xD
Re: Help with MYSQL Server -
ICECOLDKILLAK8 - 03.03.2009
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
Re: Help with MYSQL Server -
harrold - 04.03.2009
Really no pop ups?