Server starts and closes - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server starts and closes (
/showthread.php?tid=658758)
Server starts and closes -
IndependentGaming - 11.09.2018
Hello, I'm trying to start my server after a long time but it doesn't start it directly closes here is the server log:
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[18:25:35] filterscripts = "" (string)
[18:25:35] weburl = "www.sa-mp.com" (string)
[18:25:35]
[18:25:35] Server Plugins
[18:25:35] --------------
[18:25:35] Loading plugin: crashdetect
[18:25:35] CrashDetect v4.16 is OK.
[18:25:35] Loaded.
[18:25:35] Loading plugin: mysql
[18:25:35]
> MySQL plugin R5 successfully loaded.
[18:25:35] Loaded.
[18:25:35] Loading plugin: audio
[18:25:35]
*** Audio Plugin v0.5 R2 by Incognito loaded ***
[18:25:35] Loaded.
[18:25:35] Loading plugin: whirlpool
[18:25:35]
[18:25:35] ==================
[18:25:35]
[18:25:35] Whirlpool loaded
[18:25:35]
[18:25:35] ==================
[18:25:35]
[18:25:35] Loaded.
[18:25:35] Loading plugin: sscanf
[18:25:35]
[18:25:35] ===============================
[18:25:35] sscanf plugin loaded.
[18:25:35] © 2009 Alex "******" Cole
[18:25:35] 0.3d-R2 500 Players "dnee"
[18:25:35] ===============================
[18:25:35] Loaded.
[18:25:35] Loading plugin: streamer
[18:25:35]
*** Streamer Plugin v2.5.2 by Incognito loaded ***
[18:25:35] Loaded.
[18:25:35] Loaded 6 plugins.
[18:25:35]
[18:25:35] Filterscripts
[18:25:35] ---------------
[18:25:35] Loaded 0 filterscripts.
[18:25:35]
[18:25:35] =======================================
[18:25:35] | |
[18:25:35] | YSI version 1.03.0011 |
[18:25:35] | By Alex "******" Cole |
[18:25:35] | |
[18:25:35] | Checking the latest YSI version.. |
[18:25:35] | |
[18:25:35] =======================================
[18:25:35]
[18:25:35] onfoot_rate = 40 (int, read-only)
[18:25:35] incar_rate = 40 (int, read-only)
[18:25:35] *** Audio Plugin: Started TCP server on port 7777
[18:25:35] weapon_rate = 40 (int, read-only)
[18:25:35] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.mp3" for CRC check
[18:25:35] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.ogg" for CRC check
[18:25:35] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.wav" for CRC check
[18:25:35] *** Audio_SetPack: Audio pack set to "default_pack" (transferable and automated)
[18:25:38] [MySQL] (All Pipelines) Connecting to MySQL Database Server localhost...
[18:25:38] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host localhost - DB: ngrp - User: ngrp
[18:25:38] [MySQL] Note: Make sure that you have provided the correct connection credentials.
[18:25:38] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
[18:25:43] [script] 3DTEXTDRAW LIMIT: 1024 (Static, non-streamed) | 3DTEXTDRAW COUNT: 1639
[18:25:43] [script] PICKUP LIMIT: 4096 (Static, non-streamed) | PICKUP COUNT: 1540
[18:25:43] [script] OBJECT LIMIT: 1000 (Static, non-streamed) | OBJECT COUNT: 6791
[18:25:43]
[18:25:43] -------------------------------------------
[18:25:43] Loading...
[18:25:43] Welcome to Next Generation Roleplay
[18:25:43] -------------------------------------------
[18:25:43]
[18:25:43] Number of vehicle models: 104
[18:25:43] --- Server Shutting Down.
[18:25:43]
> MySQL plugin unloaded.
and I have no idea what this is [18:25:38] [MySQL] (All Pipelines) Connecting to MySQL Database Server localhost...
[18:25:38] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host localhost - DB: ngrp - User: ngrp
[18:25:38] [MySQL] Note: Make sure that you have provided the correct connection credentials.
[18:25:38] [MySQL] (MainPipeline) Connection successful toward MySQL Database Server!
I use mysql R5 plugin and a_mysql and g_mysql include I know its out dated but still working on it
Re: Server starts and closes -
KinderClans - 11.09.2018
[18:25:38] [MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host localhost - DB: ngrp - User: ngrp
You can't just include your mysql plugin and let the server run without any modification.
You have to edit your database variables (host, username, password and sometimes port too), in your gamemode, then re-compile it and woila, server will magically connect to database.