Jump to content
  • 0

MYSQL SERVER HAS GONE AWAY


anonim23

Question

Salut, pentru inceput vreau sa zic ca sunt incepator, deci no hate.

Deci am si eu gm ul asta l2p, am conectat baza de date la el(pe localhost), l-am compilat si dupa cand vreau sa il pornesc imi apare asta.


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[11:18:54] 
[11:18:54] Server Plugins
[11:18:54] --------------
[11:18:54]  Loading plugin: crashdetect
[11:18:54]   CrashDetect v4.15.1 is OK.
[11:18:54]   Loaded.
[11:18:54]  Loading plugin: sscanf
[11:18:54] 

[11:18:54]  ===============================

[11:18:54]       sscanf plugin loaded.     

[11:18:54]          Version:  2.8.1        

[11:18:54]    (c) 2012 Alex "Y_Less" Cole  

[11:18:54]  ===============================

[11:18:54]   Loaded.
[11:18:54]  Loading plugin: mysql
[11:18:54]  >> plugin.mysql: R34 successfully loaded.
[11:18:54]   Loaded.
[11:18:54]  Loading plugin: streamer
[11:18:54] 

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[11:18:54]   Loaded.
[11:18:54]  Loaded 4 plugins.

[11:18:54] 
[11:18:54] Ban list
[11:18:54] --------
[11:18:54]  Loaded: samp.ban
[11:18:54] 
[11:18:54] 
[11:18:54] Filterscripts
[11:18:54] ---------------
[11:18:54]   Loaded 0 filterscripts.

[11:18:57]  
[11:18:57]  
[11:18:57]  
[11:18:57]  ======================================= 
[11:18:57]  |                                     | 
[11:18:57]  |        YSI version 3.09.0684        | 
[11:18:57]  |        By Alex "Y_Less" Cole        | 
[11:18:57]  |                                     | 
[11:18:57]  ======================================= 
[11:18:57]  
[11:18:57]  
[11:18:57]  
[11:18:58] Server: hosted
[11:18:58] Server vehicles: 0
[11:18:58] Safezones: 0
[11:18:58] Houses: 0
[11:18:58] Clans: 0
[11:18:58] Clan zones: 0
[11:18:58] Bussines: 0
[11:18:58] Turfs: 0
[11:18:58] Factions: 0
[11:18:58] Jobs: 0
[11:18:58] Furnitures: 0
[11:18:58] Stuff Loaded
[11:18:59] Safes: 0
[11:18:59] Number of vehicle models: 18
[11:18:59] ====================================================================
[11:18:59] Error ID: 2006, Error: MySQL server has gone away
[11:18:59] Callback: LoadDSVeh
[11:18:59] gQuery: SELECT * FROM `dsveh`
[11:18:59] ====================================================================

In baza de date am dsveh, de conectat la baza de date e conectat, ca nu s prost.

Deci ce sa fie? HELP

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Acum 2 ore, anonim23 a spus:

Salut, pentru inceput vreau sa zic ca sunt incepator, deci no hate.

Deci am si eu gm ul asta l2p, am conectat baza de date la el(pe localhost), l-am compilat si dupa cand vreau sa il pornesc imi apare asta.



----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[11:18:54] 
[11:18:54] Server Plugins
[11:18:54] --------------
[11:18:54]  Loading plugin: crashdetect
[11:18:54]   CrashDetect v4.15.1 is OK.
[11:18:54]   Loaded.
[11:18:54]  Loading plugin: sscanf
[11:18:54] 

[11:18:54]  ===============================

[11:18:54]       sscanf plugin loaded.     

[11:18:54]          Version:  2.8.1        

[11:18:54]    (c) 2012 Alex "Y_Less" Cole  

[11:18:54]  ===============================

[11:18:54]   Loaded.
[11:18:54]  Loading plugin: mysql
[11:18:54]  >> plugin.mysql: R34 successfully loaded.
[11:18:54]   Loaded.
[11:18:54]  Loading plugin: streamer
[11:18:54] 

*** Streamer Plugin v2.7.7 by Incognito loaded ***

[11:18:54]   Loaded.
[11:18:54]  Loaded 4 plugins.

[11:18:54] 
[11:18:54] Ban list
[11:18:54] --------
[11:18:54]  Loaded: samp.ban
[11:18:54] 
[11:18:54] 
[11:18:54] Filterscripts
[11:18:54] ---------------
[11:18:54]   Loaded 0 filterscripts.

[11:18:57]  
[11:18:57]  
[11:18:57]  
[11:18:57]  ======================================= 
[11:18:57]  |                                     | 
[11:18:57]  |        YSI version 3.09.0684        | 
[11:18:57]  |        By Alex "Y_Less" Cole        | 
[11:18:57]  |                                     | 
[11:18:57]  ======================================= 
[11:18:57]  
[11:18:57]  
[11:18:57]  
[11:18:58] Server: hosted
[11:18:58] Server vehicles: 0
[11:18:58] Safezones: 0
[11:18:58] Houses: 0
[11:18:58] Clans: 0
[11:18:58] Clan zones: 0
[11:18:58] Bussines: 0
[11:18:58] Turfs: 0
[11:18:58] Factions: 0
[11:18:58] Jobs: 0
[11:18:58] Furnitures: 0
[11:18:58] Stuff Loaded
[11:18:59] Safes: 0
[11:18:59] Number of vehicle models: 18
[11:18:59] ====================================================================
[11:18:59] Error ID: 2006, Error: MySQL server has gone away
[11:18:59] Callback: LoadDSVeh
[11:18:59] gQuery: SELECT * FROM `dsveh`
[11:18:59] ====================================================================

In baza de date am dsveh, de conectat la baza de date e conectat, ca nu s prost.

Deci ce sa fie? HELP

Jhon nu ai connectat baza de date ?

Link to comment
Share on other sites

  • 0
1 hour ago, HPQ123 said:

Jhon nu ai connectat baza de date ?

Ba da frate, uite. 

Quote

public OnGameModeInit()
{
	mysql_log(LOG_ERROR, LOG_TYPE_TEXT);
	if(SERVER_HOSTSTATUS == 1) SQL = mysql_connect("localhost", "root", "l2p", ""), print("Server: hosted"); 
	else SQL = mysql_connect("localhost", "root", "l2p", ""), print("Server: localhost");

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.