Community AlphaAlpha MUADMINS
ENEnglish
Sign in
On MuADMINSConfig ScannerDrop your files zip: rates, drops, spots, limitsOpenOn MuADMINSMeet us on DiscordAsk for help, share what you are building and talk MU with other server owners.Open
← All solutions

97d GameServer on a VPS says 'Failed to connect to SQL Server' although the SQL login, the MuOnline database and the IPs look correct

✓ Confirmed by the topic starter

The database and the SQL settings were fine; the IP passed to GameServer.exe in its shortcut was the problem.

  1. Right-click the GameServer.exe shortcut you start the server with and open Properties.
  2. Read the Target line: the IP written after the exe must be the same IP you use in the rest of the server configuration (in the thread one place had the local IP and the other the public IP).
  3. Put the same IP in both places (local IP for a local test, the public IP of the VPS for an online server), save and start GameServer again.

Tip from the thread: in the files config (EMU config.xml, SPD_Config\SPD.ini) the database host should be (local), localhost or the PC name, not the public IP.

The topic starter confirmed that this worked.

Original words (Spanish)

“solucionado, (el problema era la ip del gameserver.exe (acceso directo)”

The topic starter, 2021-02-08 (original words)
TUServerMU · 2021-02-08
Did this help?

Still stuck? Search MuGPS Ask the MU Assistant

MuADMINS Community Alpha: free and community made, in active development.