Jump to content

[DELETED]Problemă pornire server


Khenwise
 Share

Recommended Posts

Salut, am decis să încep un ”edit” pe gamemode-ul lui @TwEnZyAdv, gamemode-ul ce era la bază Burned dar acum e un fel de Jade.

problema e că după ce l-am urcat pe host și apoi intru pe server nu merge să-ți faci cont. (Și da, am pus datele pentru baza de date) 

[19:27:17] ====================================================================
[19:27:17] Error ID: 2006, Error: MySQL server has gone away
[19:27:17] Callback: loadLocations
[19:27:17] gQuery: SELECT * FROM `gps_locations`
[19:27:17] ====================================================================
[19:27:17] ====================================================================
[19:27:17] Error ID: 2006, Error: MySQL server has gone away
[19:27:17] Callback: loadDealerShip
[19:27:17] gQuery: SELECT * FROM `dealership`
[19:27:17] ====================================================================
[19:27:17] ====================================================================
[19:27:17] Error ID: 2006, Error: MySQL server has gone away
[19:27:17] Callback: loadRentPlaces
[19:27:17] gQuery: SELECT * FROM `rentcars`
[19:27:17] ====================================================================
[19:27:17] ====================================================================
[19:27:17] Error ID: 2006, Error: MySQL server has gone away
[19:27:17] Callback: PlayersLoggedDay
[19:27:17] gQuery: SELECT * FROM `users` WHERE `DayLogin` = '1'
[19:27:17] ====================================================================
[19:27:17] ====================================================================
[19:27:17] Error ID: 2006, Error: MySQL server has gone away
[19:27:17] Callback: Accounts
[19:27:17] gQuery: SELECT * FROM `users`
[19:27:17] ====================================================================
[19:27:17] ====================================================================
[19:27:17] Error ID: 2006, Error: MySQL server has gone away
[19:27:17] Callback: InsertATM
[19:27:17] gQuery: SELECT * FROM `server_atms`
[19:27:17] ====================================================================
[19:27:17] ====================================================================
[19:27:17] Error ID: 2006, Error: MySQL server has gone away
[19:27:17] Callback: 
[19:27:17] gQuery: UPDATE `users` SET `Status` = '0' WHERE 1
[19:27:17] ====================================================================
[19:27:17] ====================================================================
[19:27:17] Error ID: 2006, Error: MySQL server has gone away
[19:27:17] Callback: LoadTreasure
[19:27:17] gQuery: SELECT * FROM `treasure_objects`
[19:27:17] ====================================================================
[19:27:44] [connection] 37.251.221.182:6433 requests connection cookie.
[19:27:45] [connection] incoming connection: 37.251.221.182:6433 id: 0
[19:27:45] [join] italiasifranta has joined the server (0:37.251.221.182)
[19:28:04] ====================================================================
[19:28:04] Error ID: 2006, Error: MySQL server has gone away
[19:28:04] Callback: IsPlayerLogin
[19:28:04] gQuery: SELECT * FROM users WHERE `name`='italiasifranta' AND `password`='D41D8CD98F00B204E9800998ECF8427E'
[19:28:04] ====================================================================
[19:28:06] [part] italiasifranta has left the server (0:1)
[19:28:06] ====================================================================
[19:28:06] Error ID: 2006, Error: MySQL server has gone away
[19:28:06] Callback: 
[19:28:06] gQuery: UPDATE `users` SET `Status`='0' WHERE `ID`='0'
[19:28:06] ====================================================================
[19:28:06] ====================================================================
[19:28:06] Error ID: 2006, Error: MySQL server has gone away
[19:28:06] Callback: 
[19:28:06] gQuery: UPDATE users SET `lastOn`='22.08.2019 19:28' WHERE `ID`='0'
[19:28:06] ====================================================================

Este pentru prima dată când pățesc asta, până acum am lucrat doar pe vProject și Bottles. 

Și nu știu dacă o fi de vină hostul, dar eu pentru baza de date n-am primit un ip anume, ci o adresă gen mysql.domeniu.ro. (chiar habar n-am dacă are vreo legătură, dar am zis să menționez și asta)

 

 

Link to comment
Share on other sites

Acum 26 minute, Syntetick a spus:

nu s-a conectat la baza de date

poate că am greșit eu ceva

function cLogareMysqlConnect() {
	mysql_log(LOG_ERROR, LOG_TYPE_TEXT);
	switch( cType ) {
		case 1: { 
			SQL = mysql_connect(MySQL_Host, MySQL_User, MySQL_Database, MySQL_Password);
			print("[ MySQL Connection ]: Conexiunea user-ului cu baza de date a fost efectuata cu succes! (Localhost)");
		}
		case 2: {
			SQL = mysql_connect(MySQL_GameHost, MySQL_GameUser, MySQL_GameDatabase, MySQL_GamePassword);
			print("[ MySQL Connection ]: Conexiunea user-ului cu baza de date a fost efectuata cu succes! (Host)");
		} 
	}
}

nu pot modifica la mysql_connect că sunt definite aici..

 

#define 		MySQL_GameHost 			"exemplu"
#define 		MySQL_GameUser			"samp_50"
#define 		MySQL_GameDatabase 		"samp_50"
#define 		MySQL_GamePassword 		"exemplu"

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...