Shu wrote:The embedded server actually is a normal running MariaDB/MySQL server. It has TCP networking disabled though. I don't have the game installed here at work, but somewhere in the server directory within the game installation there is a text based settings file where networking is explicitly disabled. If you edit that out, you might be able to connect to it with HeidiSQL while the game is running.
Otherwise it probably only lets you connect through named pipes, and I don't know if HeidiSQL has that option. I never looked for it.
From there on you can just export your entire "lif_1" schema to a SQL script file, which you can run on the new server to reconstruct your world there.
Warning: It is not just the tables! LiF uses a good bunch of stored procedures in the DBMS. These are NOT part of the "lif_1" schema! You either have to separately backup and restore the table "ROUTINES" from the "INFORMATION_SCHEMA", or you could run the remote server once before you inject your backup. The dedicated server will set up a new world complete with the procedures. After that you can just drop the fresh "lif_1" schema and import your saved one.
Thank you so much for answering! HeidiSQL has an option called "MySQL (named pipe), so should I use that one? My problem is: HeidiSQL asks for a Hostname/IP (I think "localhost" is right?), username, password and port. I don't know what I should use as a username or password.
We use port 28000, so I typed that one. When I try to connect with localhost and 28000, a message in the server window pops up:
"SimTCPServer: incomingConnection"
But nothing happens and after a while, HeidiSQL says "Lost connection to MySQL server at 'waiting for initial communication packet', system error: 0
I have no idea what to do
I'll look for that setting file you're talking about.
edit: Can't find anything.