Been running a LIF server for ages (since way before release) all has been working fine. Crashed the other day and now am getting the following message in logs
- Code: Select all
//-------------------------- 12/5/2015 -- 00:46:59 -- v1.0.0.11 --
ECHO 2015-12-05 00:46:59.821 {00} <NOSCOPE> # --------- Loading DIRS ---------
INFO 2015-12-05 00:46:59.821 {00} <NOSCOPE> # v1.0.0.11
ECHO 2015-12-05 00:46:59.822 {00} <NOSCOPE> #
ECHO 2015-12-05 00:46:59.880 {01} <onStart> ##
--------- Initializing Directory: scripts ---------
ECHO 2015-12-05 00:46:59.881 {02} <initServer> ###
--------- Initializing LiF Server: Server Scripts ---------
ECHO 2015-12-05 00:46:59.888 {02} <initServer> ### Loading CmConfiguration
ECHO 2015-12-05 00:46:59.889 {02} <initServer> ### Init of DB interface
WARN 2015-12-05 00:46:59.895 {02} <initServer> ### DB::RS(1 ms) SHOW DATABASES LIKE 'lif_1';
ECHO 2015-12-05 00:46:59.895 {02} <initServer> ### Patching database [1/2]...
ECHO 2015-12-05 00:46:59.895 {02} <initServer> ### Patching database [2/2]...
ECHO 2015-12-05 00:46:59.895 {02} <initServer> ### Validating database...
ERRR 2015-12-05 00:46:59.895 {02} <initServer> ### DB error #1046: No database selected. Query: CALL sp_checkForeignKeys('animal_breeds', 1, 1);
ECHO 2015-12-05 00:46:59.895 {02} <initServer> ### DB trying to reconnect
ECHO 2015-12-05 00:46:59.896 {02} <initServer> ### DB connected
ERRR 2015-12-05 00:46:59.896 {02} <initServer> ### DB error #1046: No database selected. Query: CALL sp_checkForeignKeys('animal_breeds', 1, 1);
ECHO 2015-12-05 00:46:59.896 {02} <initServer> ### DB trying to reconnect
ECHO 2015-12-05 00:46:59.896 {02} <initServer> ### DB connected
ERRR 2015-12-05 00:46:59.896 {02} <initServer> ### DB error #1046: No database selected. Query: CALL sp_checkForeignKeys('animal_breeds', 1, 1);
ECHO 2015-12-05 00:46:59.896 {02} <initServer> ### DB trying to reconnect
ECHO 2015-12-05 00:46:59.897 {02} <initServer> ### DB connected
ERRR 2015-12-05 00:46:59.897 {02} <initServer> ### DB error #1046: No database selected. Query: CALL sp_checkForeignKeys('animal_breeds', 1, 1);
ECHO 2015-12-05 00:46:59.897 {02} <initServer> ### DB trying to reconnect
ECHO 2015-12-05 00:46:59.897 {02} <initServer> ### DB connected
ERRR 2015-12-05 00:46:59.897 {02} <initServer> ### DB error #1046: No database selected. Query: CALL sp_checkForeignKeys('animal_breeds', 1, 1);
ECHO 2015-12-05 00:46:59.898 {02} <initServer> ### DB trying to reconnect
ECHO 2015-12-05 00:46:59.899 {02} <initServer> ### DB connected
ERRR 2015-12-05 00:46:59.899 {02} <initServer> ### DB error #1046: No database selected. Query: CALL sp_checkForeignKeys('animal_breeds', 1, 1);
ECHO 2015-12-05 00:46:59.899 {02} <initServer> ### DB trying to reconnect
ECHO 2015-12-05 00:46:59.900 {02} <initServer> ### DB connected
WARN 2015-12-05 00:46:59.900 {02} <initServer> ### DB::mfRS(5 ms) CALL sp_checkForeignKeys('animal_breeds', 1, 1);
ERRR 2015-12-05 00:46:59.900 {02} <initServer> ### CmServerInfoManager::_applyDbPatch() - call to sp_checkForeignKeys failed
ERRR 2015-12-05 00:46:59.900 {02} <initServer> ### CmServerInfoManager::processLocalWorlds() - can't access to db for world id=1
ERRR 2015-12-05 00:46:59.900 {02} <initServer> ### Fatal: Can't init local world (id=1). Terminating.
ECHO 2015-12-05 00:46:59.900 {00} <NOSCOPE> # Engine initialized...
ECHO 2015-12-05 00:46:59.901 {00} <NOSCOPE> # Thread pool initialized, threads: 7
core/scripts/server/server.cs (78): Unable to find function destroyWorld
INFO 2015-12-05 00:46:59.903 {01} <onExit> ## The server has been shut down!
Now as if thats not strange enough I happen to have a server lying around that I thought "Hey, I'll just put it on there instead, obviously I have done somthing to my pc"
So installed windows 2012 R2, installed the C++ redist's and Maria DB (5.5.45) and whilst I was at it thought I'll start scratch so did not import any data.
Exactly the same error messages.
I have tried everything I can think of, multiple re-installs, fresh files from steam, confirmed I can access the database with the credentials in config_local.cs. What am I doing wrong?