Hi, I have a database problem. When the first player connects to the server, the server loses connection with database. What can be the problem?
PHP Code:
L 03/27/2021 - 08:15:21: [VIP_Core.smx] SQL_Callback_SelectExpiredAndOutdated: Lost connection to MySQL server during query
L 03/27/2021 - 08:16:22: [levelsranks.smx] Reconnect to the Database!
L 03/27/2021 - 08:16:22: [levelsranks.smx] Successfully! Attempt #0.
L 03/27/2021 - 08:17:24: [mysql_ban.smx] [MYBans] Query failed! Lost connection to MySQL server during query
L 03/27/2021 - 08:17:24: [SM] Exception reported: Invalid query Handle 0 (error: 4)
L 03/27/2021 - 08:17:24: [SM] Blaming: mysql_ban.smx
L 03/27/2021 - 08:17:24: [SM] Call stack trace:
L 03/27/2021 - 08:17:24: [SM] [0] SQL_FetchRow
L 03/27/2021 - 08:17:24: [SM] [1] Line 174, C:\Users\ACS\Desktop\R\mysql_ban.sp::T_AuthCheck
L 03/27/2021 - 08:18:25: [store/store.smx] Error happened. Error: Lost connection to MySQL server during query
L 03/27/2021 - 08:19:27: [mostactive.smx] Query failure: Lost connection to MySQL server during query
L 03/27/2021 - 08:20:28: [gagsilencemute.smx] Query failure: Lost connection to MySQL server during query
L 03/27/2021 - 08:20:28: [weapons_dr.smx] Inactive players' data has been deleted
L 03/27/2021 - 08:21:29: [levels_ranks/levelsranks_exstats_hits.smx] SQL_Callback: error when sending the request (4) - Lost connection to MySQL server during query
L 03/27/2021 - 08:21:29: [SM] Exception reported: Invalid query Handle 0 (error: 4)
L 03/27/2021 - 08:21:29: [SM] Blaming: levels_ranks/levelsranks_exstats_hits.smx
L 03/27/2021 - 08:21:29: [SM] Call stack trace:
L 03/27/2021 - 08:21:29: [SM] [0] DBResultSet.HasResults.get
L 03/27/2021 - 08:21:29: [SM] [1] Line 342, d:\SourcePawn\1.10\levelsranks_exstats_hits.sp::SQL_Callback
sm exts list
PHP Code:
[SM] Displaying 17 extensions:
[01] Automatic Updater (1.10.0.6502): Updates SourceMod gamedata files
[02] Webternet (1.10.0.6502): Extension for interacting with URLs
[03] SteamWorks Extension (1.2.3): Exposes SteamWorks functions to Developers
[04] Console Cleaner (1.1.0): Console warning suppressor
[05] Accelerator (2.5.0): SRCDS Crash Handler
[06] CS Tools (1.10.0.6502): CS extended functionality
[07] BinTools (1.10.0.6502): Low-level C/C++ Calling API
[08] SDK Tools (1.10.0.6502): Source SDK Tools
[09] Client Preferences (1.10.0.6502): Saves client preference settings
[10] SQLite (1.10.0.6502): SQLite Driver
[11] SDK Hooks (1.10.0.6502): Source SDK Hooks
[12] GeoIP2 (1.1.1): Geographical IP information
[13] Top Menus (1.10.0.6502): Creates sorted nested menus
[14] PTaH (1.1.3): Additional CS:GO Hooks and Natives
[15] <OPTIONAL> file "store_sm.ext.so": /home/container/csgo/addons/sourcemod/extensions/store_sm.ext.so: cannot open shared object file: No such file or directory
[16] Regex (1.10.0.6502): Provides regex natives for plugins
[17] MySQL-DBI (1.10.0.6502): MySQL driver implementation for DBI
sm version
PHP Code:
SourceMod Version Information:
SourceMod Version: 1.10.0.6502
SourcePawn Engine: 1.10.0.6502, jit-x86 (build 1.10.0.6502)
SourcePawn API: v1 = 5, v2 = 12
Compiled on: Dec 18 2020 04:15:26
Built from: https://github.com/alliedmodders/sourcemod/commit/617fb77
Build ID: 6502:617fb77
http://www.sourcemod.net/
meta version
PHP Code:
Metamod:Source Version Information
Metamod:Source version 1.11.0-dev+1143
Plugin interface version: 16:14
SourceHook version: 5:5
Loaded As: Valve Server Plugin
Compiled on: Aug 19 2020 14:56:55
Built from: https://github.com/alliedmodders/metamod-source/commit/b8d1fd4
Build ID: 1143:b8d1fd4
http://www.metamodsource.net/