[HELP] MYSQL SAMP.SERVER.EXE
#1

Why samp.server.exe closed ?


Reply
#2

Can you paste the full server_log here please.
Reply
#3

Код:
SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[23:38:56] 
[23:38:56] Server Plugins
[23:38:56] --------------
[23:38:56]  Loading plugin: streamer
[23:38:56] 

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

[23:38:56]   Loaded.
[23:38:56]  Loading plugin: regex
[23:38:56] 


[23:38:56] ______________________________________


[23:38:56]  Regular Expression Plugin v0.2.1 loaded
[23:38:56] ______________________________________


[23:38:56]  By: Fro © Copyright <TBG> 2009-2011
[23:38:56] ______________________________________


[23:38:56]   Loaded.
[23:38:56]  Loading plugin: crashdetect
[23:38:56]   Failed.
[23:38:56]  Loading plugin: audio
[23:38:56] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[23:38:56]   Loaded.
[23:38:56]  Loading plugin: mysql
[23:38:56] 

  > MySQL plugin R5 successfully loaded.

[23:38:56]   Loaded.
[23:38:56]  Loading plugin: Whirlpool
[23:38:56]  
[23:38:56]  ==================
[23:38:56]  
[23:38:56]   Whirlpool loaded
[23:38:56]  
[23:38:56]  ==================
[23:38:56]  
[23:38:56]   Loaded.
[23:38:56]  Loading plugin: nativechecker
[23:38:56]   Loaded.
[23:38:56]  Loading plugin: sscanf
[23:38:56] 

[23:38:56]  ===============================

[23:38:56]       sscanf plugin loaded.     

[23:38:56]          Version:  2.8.1        

[23:38:56]    © 2012 Alex "******" Cole  

[23:38:56]  ===============================

[23:38:56]   Loaded.
[23:38:56]  Loaded 7 plugins.

[23:38:56] 
[23:38:56] Filterscripts
[23:38:56] ---------------
[23:38:56]   Loading filterscript 'audio.amx'...
[23:38:56]   Unable to load filterscript 'audio.amx'.
[23:38:56]   Loaded 0 filterscripts.

[23:38:56] *** Audio Plugin: Started TCP server on port 7777
[23:38:56] Connecting to MySQL server..
[23:38:56] Unable to connect to MySQL server... Quitting
[23:38:56] Server Enviroment: DEV
[23:38:56] Text Draws Created.
[23:38:56] Menus Created.
[23:38:56] Running new race
[23:38:56] Job Vehicles Created.
[23:38:56] Job Pickups Created.
[23:38:56] Invalid modelid for object: F_CreateObject(0, 1415.430053, 373.579986, 20.649999, 0.000000, 0.000000, -110.400001);

[23:38:56] Streamed Objects: 903
[23:38:56] 37 Gates Added
[23:38:56] 6 Speed Cameras Added
[23:38:56] Refreshing Population
[23:38:56] Refreshing Market Prices...
[23:38:56] 
----------------------------------
[23:38:56]  RP Script By TJ (SAMP Forums: TTJJ)
[23:38:56]  This script comes AS IS, I offer NO support or assistance in its operation
[23:38:56]  Please do not remove credits or claim this script was made by yourself
[23:38:56] ----------------------------------

[23:38:56] Number of vehicle models: 10
[23:38:56] --- Server Shutting Down.
[23:38:56] 

*** Streamer Plugin v2.6.1 by Incognito unloaded ***

[23:38:56] 


[23:38:56] ______________________________________


[23:38:56]  Regular Expression Plugin v0.2.1 unloaded
[23:38:56] ______________________________________
Reply
#4

Reply
#5

How to fix ?
Reply
#6

PhpMyAdmin "samp" I created the database. I import.

Код:
stock connectToMysql() {
	if(server_enviroment == ENVIROMENT_DEV) {
	   	mysql_connect("localhost","...","...",".FixSet.FixSet.cake");
		if(mysql_ping() == -1) { print("Unable to connect to MySQL server... Quitting"); SendRconCommand("exit"); } else { print("Connected to MySQL server"); }
		print("Server Enviroment: DEV");
	} else if (server_enviroment == ENVIROMENT_LIVE) {
	   	mysql_connect("localhost","samp_server","..","...");
		if(mysql_ping() == -1) { print("Unable to connect to MySQL server... Quitting"); SendRconCommand("exit"); } else { print("Connected to MySQL server"); }
		print("Server Enviroment: LIVE");
	} else {
	    print("Unknown server enviroment, quitting.");
	    SendRconCommand("exit");
	}
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)