[Help] MySQL and Gamemode problem - 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: [Help] MySQL and Gamemode problem (
/showthread.php?tid=349266)
[Help] MySQL and Gamemode problem -
Charox - 08.06.2012
Hello,
I've a big problem.
I've created a Gamemode for local-mode only game. I want to run a Server in my LAN that have 24 computers that includes my neighborhood. I have a problem with MySQL BlueG's Plugin. I've developed the Gamemode on my PC (Windows XP Home Edition 32-bit) with MySQL BlueG's Plugin R5. The MySQL Server on this PC is formed by BitNami MySQL Server. Than, I have moved the SA:MP Server with relative folders to a Linux machine. On the Linux machine I have configured a MySQL server and I have stored in "plugins" folder all the .so plugins for Linux. Than, i have fixed the MySQL data in "MySQL.txt" in scriptfiles in this mode: "database|hostname|username|password", then "samp|localhost|root|password". At the moment that server load MySQL Data and trying connecting to MySQL Server all seems to be okay. On login, I don't view Login Form. Some ideas?
Sorry for my bad English, I'm Italian.
Thanks in advantage.
Re: [Help] MySQL and Gamemode problem -
nGen.SoNNy - 08.06.2012
So...the connection is ok but login form doesn't appear? Maybe GM have some bugs? Can you post that part when server should show login form for player?
Re: [Help] MySQL and Gamemode problem -
Charox - 08.06.2012
I have checked MySQL connections. It doesn't connect to MySQL Server.
Re: [Help] MySQL and Gamemode problem -
sanrock - 08.06.2012
make sure you got the database and username and ip and password right.
Re: [Help] MySQL and Gamemode problem -
Charox - 08.06.2012
They're all right.
AW: [Help] MySQL and Gamemode problem -
Tigerkiller - 08.06.2012
Sure ?
Maybe wrong IP or your MySQL Server arent running correctly.
Hmm which MySQL Server are you using on your Linux ?
Re: [Help] MySQL and Gamemode problem -
telmo_ferreira - 08.06.2012
OnGameModeInit()
put this
mysql_debug(1);
and show us the log file