MySQL 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: MySQL Database (
/showthread.php?tid=297943)
MySQL Database -
Jordiee - 18.11.2011
Right, I dunno if I havent put it in the right order but can someone help me on this, I imported my .sql file and imported it in Volt-Host set up the database and it still dosen't work.
This is my Database in my GM:
Код:
#define DB_USERNAME "3250_bs_rp"
#define DB_HOSTNAME "The IP or Domain Name"
#define DB_PASSWORD "********"
#define DB_DATABASE "3250_bs_rp"
And this is the picture of my Database thing:
Re: MySQL Database -
Smally - 18.11.2011
Team Viewer ?
Re: MySQL Database -
Jordiee - 18.11.2011
Ok Message me on skype
Re: MySQL Database -
Calgon - 18.11.2011
Is leo.volt-host.com the server where your SA-MP server is on? You can also use 'localhost' as the hostname, if so.
Re: MySQL Database -
Sinner - 18.11.2011
Did you connect to your database using "mysql_connect(...);" before trying anything?
Also, as Calgon said you can use "localhost" as your host since the gamemode & the MySQL database are on the same server, makes the connection much faster aswel.
Re: MySQL Database -
Jordiee - 18.11.2011
Thanks all of you, but Moehq got it working for me