Jump to content
  • 0

Problema Start Server (Mysql)


official

Question

Problemă întâlnită (descriere): Cand pornesc serverul am niste erori mysql
Ero(area / rile) / warning-(ul / urile): o sa va las logul mai jos
Liniile de cod / sursa / script-ul:
Imagini / Video (optional):
Aţi încercat să rezolvaţi singur?: da dar nu reusesc

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

SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[22:50:57] filterscripts = ""  (string)
[22:50:57] 
[22:50:57] Server Plugins
[22:50:57] --------------
[22:50:57]  Loading plugin: whirlpool
[22:50:57]  
[22:50:57]  ==================
[22:50:57]  
[22:50:57]   Whirlpool loaded
[22:50:57]  
[22:50:57]  ==================
[22:50:57]  
[22:50:57]   Loaded.
[22:50:57]  Loading plugin: regex
[22:50:57] 


[22:50:57] ______________________________________


[22:50:57]  Regular Expression Plugin v0.2.1 loaded
[22:50:57] ______________________________________


[22:50:57]  By: Fro (c) Copyright <TBG> 2009-2011
[22:50:57] ______________________________________


[22:50:57]   Loaded.
[22:50:57]  Loading plugin: mysql
[22:50:57]   Failed.
[22:50:57]  Loading plugin: crashdetect
[22:50:57]   CrashDetect v4.15 is OK.
[22:50:57]   Loaded.
[22:50:57]  Loading plugin: audio
[22:50:57] 

*** Audio Plugin v0.4 by Incognito loaded ***


[22:50:57]   Loaded.
[22:50:57]  Loaded 4 plugins.

[22:50:57] 
[22:50:57] Filterscripts
[22:50:57] ---------------
[22:50:57]   Loaded 0 filterscripts.

[22:50:57] [debug] Run time error 19: "File or function is not found"
[22:50:57] [debug]  Audio_RenamePlayer
[22:50:57] [debug]  mysql_debug
[22:50:57] [debug]  mysql_query
[22:50:57] [debug]  mysql_real_escape_string
[22:50:57] [debug]  mysql_store_result
[22:50:57] [debug]  mysql_num_rows
[22:50:57] [debug]  mysql_retrieve_row
[22:50:57] [debug]  mysql_fetch_field_row
[22:50:57] [debug]  mysql_fetch_row_format
[22:50:57] [debug]  mysql_insert_id
[22:50:57] [debug]  Audio_StopRadio
[22:50:57] [debug]  mysql_free_result
[22:50:57] [debug]  mysql_connect
[22:50:57] [debug]  mysql_ping
[22:50:57] [debug] Run time error 19: "File or function is not found"
[22:50:57] [debug]  Audio_RenamePlayer
[22:50:57] [debug]  mysql_debug
[22:50:57] [debug]  mysql_query
[22:50:57] [debug]  mysql_real_escape_string
[22:50:57] [debug]  mysql_store_result
[22:50:57] [debug]  mysql_num_rows
[22:50:57] [debug]  mysql_retrieve_row
[22:50:57] [debug]  mysql_fetch_field_row
[22:50:57] [debug]  mysql_fetch_row_format
[22:50:57] [debug]  mysql_insert_id
[22:50:57] [debug]  Audio_StopRadio
[22:50:57] [debug]  mysql_free_result
[22:50:57] [debug]  mysql_connect
[22:50:57] [debug]  mysql_ping
[22:50:57] Script[gamemodes/rp.amx]: Run time error 19: "File or function is not found"
[22:50:57] Number of vehicle models: 0
Link to comment
Share on other sites

14 answers to this question

Recommended Posts

Am  schimat versiunea la myqsl dar acum am alta problema


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

SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[13:32:13] filterscripts = ""  (string)
[13:32:13] 
[13:32:13] Server Plugins
[13:32:13] --------------
[13:32:13]  Loading plugin: whirlpool
[13:32:13]  
[13:32:13]  ==================
[13:32:13]  
[13:32:13]   Whirlpool loaded
[13:32:13]  
[13:32:13]  ==================
[13:32:13]  
[13:32:13]   Loaded.
[13:32:13]  Loading plugin: regex
[13:32:13] 


[13:32:13] ______________________________________


[13:32:13]  Regular Expression Plugin v0.2.1 loaded
[13:32:13] ______________________________________


[13:32:13]  By: Fro (c) Copyright <TBG> 2009-2011
[13:32:13] ______________________________________


[13:32:13]   Loaded.
[13:32:13]  Loading plugin: mysql
[13:32:13] 

  > MySQL plugin R6-2 successfully loaded.

[13:32:13]   Loaded.
[13:32:13]  Loading plugin: crashdetect
[13:32:13]   CrashDetect v4.15 is OK.
[13:32:13]   Loaded.
[13:32:13]  Loading plugin: nativechecker
[13:32:13]   Loaded.
[13:32:13]  Loading plugin: audio
[13:32:13] 

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

[13:32:13]   Loaded.
[13:32:13]  Loaded 6 plugins.

[13:32:13] 
[13:32:13] Filterscripts
[13:32:13] ---------------
[13:32:13]   Loaded 0 filterscripts.

[13:32:13]    Error: Function not registered: 'Audio_CreateTCPServer'
[13:32:13]    Error: Function not registered: 'Audio_AddPlayer'
[13:32:13]    Error: Function not registered: 'Audio_RemovePlayer'
[13:32:13]    Error: Function not registered: 'Audio_RenamePlayer'
[13:32:13]    Error: Function not registered: 'Audio_IsClientConnected'
[13:32:13]    Error: Function not registered: 'Audio_PlayStreamed'
[13:32:13]    Error: Function not registered: 'Audio_Set3DPosition'
[13:32:13]    Error: Function not registered: 'Audio_SetVolume'
[13:32:13]    Error: Function not registered: 'Audio_Stop'
[13:32:13]    Error: Function not registered: 'Audio_StopRadio'
[13:32:13] *** Audio Plugin: Started TCP server on port 7777
[13:32:13] Connecting to MySQL server..
[13:32:13] Unable to connect to MySQL server... Quitting
[13:32:13] Server Enviroment: DEV
[13:32:13] Text Draws Created.
[13:32:13] Menus Created.
[13:32:13] Running new race
[13:32:14] Incoming connection: 127.0.0.1:60577
[13:32:15] Incoming connection: 127.0.0.1:60578
[13:32:15] Incoming connection: 127.0.0.1:60579
[13:32:16] Job Vehicles Created.
[13:32:16] Job Pickups Created.
[13:32:16] Invalid modelid for object: F_CreateObject(0, 1415.430053, 373.579986, 20.649999, 0.000000, 0.000000, -110.400001);

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

[13:32:16] Number of vehicle models: 10
[13:32:16] --- Server Shutting Down.
[13:32:16]  
[13:32:16]  ====================
[13:32:16]  
[13:32:16]   Whirlpool unloaded
[13:32:16]  
[13:32:16]  ====================
[13:32:16]  
[13:32:16] 


[13:32:16] ______________________________________


[13:32:16]  Regular Expression Plugin v0.2.1 unloaded
[13:32:16] ______________________________________


Link to comment
Share on other sites

 
----------
Loaded log file: "server_log.txt".
----------
 
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team
 
[16:11:30] filterscripts = ""  (string)
[16:11:30] 
[16:11:30] Server Plugins
[16:11:30] --------------
[16:11:30]  Loading plugin: whirlpool
[16:11:30]  
[16:11:30]  ==================
[16:11:30]  
[16:11:30]   Whirlpool loaded
[16:11:30]  
[16:11:30]  ==================
[16:11:30]  
[16:11:30]   Loaded.
[16:11:30]  Loading plugin: regex
[16:11:30] 
 
 
[16:11:30] ______________________________________
 
 
[16:11:30]  Regular Expression Plugin v0.2.1 loaded
[16:11:30] ______________________________________
 
 
[16:11:30]  By: Fro © Copyright <TBG> 2009-2011
[16:11:30] ______________________________________
 
 
[16:11:30]   Loaded.
[16:11:30]  Loading plugin: mysql
[16:11:30] 
 
  > MySQL plugin R5 successfully loaded.
 
[16:11:30]   Loaded.
[16:11:30]  Loading plugin: crashdetect
[16:11:30]   CrashDetect v4.15 is OK.
[16:11:30]   Loaded.
[16:11:30]  Loading plugin: audio
[16:11:30] 
 
*** Audio Plugin v0.5 R2 by Incognito loaded ***
 
[16:11:30]   Loaded.
[16:11:30]  Loading plugin: sscanf
[16:11:30] 
 
[16:11:30]  ===============================
 
[16:11:30]       sscanf plugin loaded.     
 
[16:11:30]    © 2009 Alex "Y_Less" Cole
 
[16:11:30]    0.3d-R2 500 Players "dnee"
 
[16:11:30]  ===============================
 
[16:11:30]   Loaded.
[16:11:30]  Loading plugin: nativechecker
[16:11:30]   Loaded.
[16:11:30]  Loaded 7 plugins.
 
[16:11:30] 
[16:11:30] Filterscripts
[16:11:30] ---------------
[16:11:30]   Loaded 0 filterscripts.
 
[16:11:30] Connecting to MySQL server..
[16:11:30] *** Audio Plugin: Started TCP server on port 7777
[16:11:30] Unable to connect to MySQL server... Quitting
[16:11:30] Server Enviroment: DEV
[16:11:30] Text Draws Created.
[16:11:30] Menus Created.
[16:11:30] Running new race
[16:11:32] Incoming connection: 127.0.0.1:58624
[16:11:34] Incoming connection: 127.0.0.1:58625
[16:11:37] Incoming connection: 127.0.0.1:58626
[16:11:37] Job Vehicles Created.
[16:11:37] Job Pickups Created.
[16:11:37] Invalid modelid for object: F_CreateObject(0, 1415.430053, 373.579986, 20.649999, 0.000000, 0.000000, -110.400001);
 
[16:11:37] Streamed Objects: 903
[16:11:37] 37 Gates Added
[16:11:37] 6 Speed Cameras Added
[16:11:37] Refreshing Population
[16:11:37] Refreshing Market Prices...
[16:11:37] 
----------------------------------
[16:11:37]  RP Script By TJ (SAMP Forums: TTJJ)
[16:11:37]  This script comes AS IS, I offer NO support or assistance in its operation
[16:11:37]  Please do not remove credits or claim this script was made by yourself
[16:11:37] ----------------------------------
 
[16:11:37] Number of vehicle models: 10
[16:11:37] --- Server Shutting Down.
[16:11:37]  
[16:11:37]  ====================
[16:11:37]  
[16:11:37]   Whirlpool unloaded
[16:11:37]  
[16:11:37]  ====================
[16:11:37]  
[16:11:37] 
 
 
[16:11:37] ______________________________________
 
 
[16:11:37]  Regular Expression Plugin v0.2.1 unloaded
[16:11:37] ______________________________________
 
 
 
Acm dupa asta imi da dont send
 
Link to comment
Share on other sites

Uite ii fac setarile ... degeaba... spune tu daca nu trebuie facute asa...

stock connectToMysql() {
	if(server_enviroment == ENVIROMENT_DEV) {
	   	mysql_connect("localhost","root","",".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","root","");
		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");
	}
}
Link to comment
Share on other sites

mysql_connect - are parametrii Host, UserName, Password, DataBase. Tu acolo in locul unde trebuie pusa baza de date ai .FixSet.FixSet.cake, esti sigur ca este baza de date buna sau ai serverul MySQL deschis?

Am pornita baza de date in xampp uite am pus alea... tot asa face uitate tu zi zimi cum trebuie puse daca sti...

stock connectToMysql() {
	if(server_enviroment == ENVIROMENT_DEV) {
	   	mysql_connect("localhost","root","","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: DEV");
	} else if (server_enviroment == ENVIROMENT_LIVE) {
	   	mysql_connect("localhost","root","","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");
	}
}
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.