SA-MP Forums Archive
Bug or Firewall? - 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: Bug or Firewall? (/showthread.php?tid=369739)



Bug or Firewall? - San1 - 18.08.2012

Well I Got the Host and Its localhost which was Volt-Hosts -_-
But i got a problem when it attempts to connect to everything
It gives a error REASON:CONNECTION IS DEAD
This Is very hard to do please help ASAP if you can
Everything runs fine and compiles without any warnings/errors - all plugins loaded 100%
Servers starts but Why wont it connect
HOW DO I MAKE IT CONNECT
* San1 Starts to cry
/do Crying...
/do Crying...
Remember i got this server hosted - this is not homehosted - but i can homehost it fine
g_MySQLConnections[0] = mysql_connect("localhost", "adrianmyrick", "adrianmyrick", "secret");

Код:
[00:23:31] >> mysql_query( Connection handle: 1 )
[00:23:31] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
[00:27:22] CMySQLHandler::~CMySQLHandler() - deconstructor called.
[00:27:22] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)
[00:27:22] CMySQLHandler::Disconnect() - You cannot call this function now. (Reason: Connection is dead)
[00:27:22] CMySQLHandler::~CMySQLHandler() - deconstructor called.



Re: Bug or Firewall? - Riddy - 18.08.2012

Volt doesnt host the MySQL servers on the node you are using, they use a seperate server for all there MySQL db's (So, I've heard), You'll need to get the IP for the DB and connect like that.


Re: Bug or Firewall? - MikkaVanBuuren - 21.08.2012

Refer to your older thread Click Me
Stop making new threads