Brazil's biggest MU Online portal — since 2003
Tutorial Intermediate Server

How to install SQL Server 2008 R2 for MU Online

Complete guide to installing SQL Server 2008 R2 for a MU Online server: why it's the most compatible version for Season 6 distributions, the difference between the Express, Standard, and Enterprise editions, the full installation walkthrough (7 steps with the critical Mixed Mode authentication step explained), how to install and use SSMS (SQL Server Management Studio), enabling the TCP/IP protocol and setting port 1433 in SQL Server Configuration Manager, configuring the SQL Server Browser service, creating the SQL Server user that MuServer will connect with, the most common installation errors and fixes, and verifying the installation is working correctly before configuring the MuServer.

RO Rodrigo · Updated on May 26, 2017 · ⏱ 12 min read
Quick answer

SQL Server 2008 R2 is the backbone of most Season 6 MU Online private servers. This guide covers the complete installation with the specific settings that make MuServer work correctly.

SQL Server 2008 R2 is the backbone of most Season 6 MU Online private servers. This guide covers the complete installation with the specific settings that make MuServer work correctly.

Nota: After installing SQL Server, you still need to configure it for MU Online (restore the MuOnline database, create the ODBC connection). This guide covers the SQL Server installation; the next step is the SQL Server configuration for MU Online tutorial.

SQL Server 2008 R2 editions

CHOOSING YOUR EDITION:

EDITION   | COST    | LIMITATIONS                        | RECOMMENDATION
----------|---------|-------------------------------------|--------------------------------
Express   | Free    | 10 GB max/database, 1 GB RAM cap    | Small-medium servers (< 5000 chars)
Standard  | Paid    | 64 GB RAM, 4 sockets                | Production servers planning to grow
Enterprise| Paid    | No limits                           | Large servers, HA setups

FOR MOST PRIVATE MU SERVERS:
→ Express edition is sufficient
→ The average MuOnline database for a private server is 1-3 GB
→ Only exceeds 10 GB on very large servers (10,000+ active characters with long history)

WHERE TO GET SQL SERVER 2008 R2:
→ Microsoft's official download center still hosts it
→ Search: "SQL Server 2008 R2 Express download"
→ Filename typically: SQLEXPR_x64_ENU.exe (64-bit Express)

Step-by-step installation

INSTALLATION WALKTHROUGH:

PREREQUISITES:
→ Windows (Server 2008 R2, 2012, 2016, 2019, 2022 — all work; Desktop Windows also works)
→ .NET Framework 3.5 enabled (Control Panel → Windows Features)
→ Administrator account

STEP 1 — RUN THE INSTALLER:
→ Right-click SQLEXPR_x64_ENU.exe → "Run as administrator"
→ Extraction window appears → wait for it to complete
→ "SQL Server Installation Center" opens

STEP 2 — START A NEW INSTALLATION:
→ Left panel: click "Installation"
→ Click "New SQL Server stand-alone installation or add features to an existing installation"
→ Accept the license terms → Next

STEP 3 — FEATURE SELECTION:
→ Expand "Database Engine Services" → check:
  ☑ Database Engine Services (required)
  ☑ SQL Server Replication (optional, check anyway)
→ Expand "Management Tools" (if this option appears in your installer):
  ☑ Management Tools - Basic (includes SSMS for older Express installers)
→ Click Next

STEP 4 — INSTANCE CONFIGURATION:
→ Select "Default instance"
→ Instance name: MSSQLSERVER (this is the default — keep it)
→ Instance ID: MSSQLSERVER
→ Why default instance? MuServer typically connects to the default instance.
  Named instances require additional connection string configuration.
→ Click Next

STEP 5 — SERVER CONFIGURATION:
→ "Service Accounts" tab: leave defaults (NT Authority\SYSTEM or Network Service)
→ "Collation" tab: SQL_Latin1_General_CP1_CI_AS (default — good for MU Online)
→ Click Next

STEP 6 — DATABASE ENGINE CONFIGURATION — CRITICAL STEP:
→ "Server Configuration" tab:
   → Authentication Mode: select "Mixed Mode (SQL Server and Windows Authentication)"
   ← THIS IS THE MOST IMPORTANT SETTING FOR MUSERVER
   ← Without Mixed Mode, MuServer cannot authenticate — every component shows "Connect Fail"
   ← MuServer uses SQL authentication (username = sa, password), not Windows authentication
→ Set the sa password: type a strong password
→ WRITE DOWN THE SA PASSWORD — you will need it every time you manage the database
→ "Specify SQL Server administrators": click "Add Current User" → your Windows user appears
→ Click Next

STEP 7 — INSTALL:
→ Review the summary → click Install
→ Installation takes 5-20 minutes depending on hardware
→ Green checkmarks appear for each component as it installs
→ When complete: "SQL Server 2008 R2 setup completed successfully" — click Close

STEP 8 — RESTART:
→ Restart the server after installation completes

Installing SSMS

SQL SERVER MANAGEMENT STUDIO (SSMS):

In SQL Server 2008 R2 Express, SSMS is a separate download.

FOR SQL SERVER 2008 R2 EXPRESS:
→ Search: "SQL Server Management Studio 2018 download" (SSMS 18.x works with SQL 2008 R2)
→ Or use an older SSMS version that came with SQL 2008 R2
→ Filename: SSMS-Setup-ENU.exe

INSTALL SSMS:
→ Run as Administrator → click Install → wait 5-10 minutes → restart

CONNECT TO SQL SERVER AFTER INSTALL:
1. Open SSMS from the Start menu
2. Server name: localhost or . (period) or (local)
3. Authentication: SQL Server Authentication
4. Login: sa
5. Password: [the password you set during installation]
6. Click "Connect"
7. If you see the Object Explorer with your server listed: installation is complete

TROUBLESHOOTING SSMS CONNECTION:
→ "Login failed for user 'sa'": wrong password, or sa account is disabled
   → Enable sa: right-click server → Properties → Security → change to Mixed Mode
   → Then: Security → Logins → sa → right-click → Properties → Status → Login: Enabled
→ "Cannot connect to localhost": SQL Server service isn't running
   → Check Windows Services: 'SQL Server (MSSQLSERVER)' must be Started

Enabling TCP/IP and setting port 1433

CONFIGURE NETWORK PROTOCOLS:

The SQL Server service listens on TCP/IP by default on port 1433.
But in some installations, TCP/IP is disabled. Verify and enable:

1. Open "SQL Server Configuration Manager":
   → Start → All Programs → Microsoft SQL Server 2008 R2 → Configuration Tools
   → SQL Server Configuration Manager

2. Expand "SQL Server Network Configuration"
3. Click "Protocols for MSSQLSERVER"
4. Check the status of TCP/IP:
   → If "Disabled": right-click → Enable
   → If already "Enabled": verify the port

5. Right-click TCP/IP → Properties
   → "IP Addresses" tab → scroll to "IPAll" at the bottom
   → "TCP Dynamic Ports": clear this field (delete any value)
   → "TCP Port": type 1433
   → Click OK

6. Restart the SQL Server service:
   → "SQL Server Services" in Configuration Manager → "SQL Server (MSSQLSERVER)"
   → Right-click → Restart

VERIFY TCP/IP IS LISTENING:
→ Open Command Prompt → type: netstat -an | find "1433"
→ You should see: TCP 0.0.0.0:1433 LISTENING
→ If nothing appears: the configuration didn't apply — check that you restarted the service

Creating the MuServer connection user

CREATE SQL CREDENTIALS FOR THE MUSERVER:

The MuServer components connect to SQL Server using SQL authentication.
You can use the 'sa' account, but a dedicated user is better practice.

-- In SSMS → New Query:
CREATE LOGIN muserver
WITH PASSWORD = 'MuServerPassword2024!',
     DEFAULT_DATABASE = MuOnline,
     CHECK_EXPIRATION = OFF,
     CHECK_POLICY = OFF;

-- Grant access to the MU databases:
USE MuOnline;
CREATE USER muserver FOR LOGIN muserver;
EXEC sp_addrolemember 'db_owner', 'muserver';

USE EventMU;
CREATE USER muserver FOR LOGIN muserver;
EXEC sp_addrolemember 'db_owner', 'muserver';

-- (Repeat for any other MU databases in your distribution)

NOTE:
→ For simplicity, many admins just use the 'sa' account in MuServer config
→ This is acceptable for a private server — sa already has all permissions
→ The dedicated user approach is better practice but not strictly required
Dica: The three things to always check first when MuServer shows "Connect Fail": (1) Is the SQL Server service running? (Check in Windows Services.) (2) Is TCP/IP enabled and set to port 1433? (Check in SQL Server Configuration Manager.) (3) Is Mixed Mode authentication active? (Check in SSMS → server Properties → Security.) Fix these three and most connection issues resolve immediately.

Verifying the installation

VERIFY SQL SERVER 2008 R2 IS READY:

CHECKLIST:
☑ SQL Server service is running (visible in Windows Services as "MSSQLSERVER")
☑ TCP/IP is enabled in SQL Server Configuration Manager
☑ Port 1433 is listening (netstat -an | find "1433")
☑ SSMS connects successfully with sa user
☑ Mixed Mode authentication is active (SSMS → server → Properties → Security)

AFTER VERIFICATION — NEXT STEPS:
→ Restore the MuOnline database from your distribution's .bak files
→ Create the ODBC DSN (Data Source Name) that MuServer uses to connect
→ Configure the MuServer .ini files to use this SQL connection
→ Start the MuServer components and test the game connection

See the "Configure SQL Server for MU Online" tutorial for these next steps.

Continue with the SQL Server configuration for MU Online tutorial (database restore, ODBC DSN creation, and MuServer .ini settings), the MuServer configuration tutorial (after the database is set up), and the common server errors tutorial (for diagnosing any Connect Fail issues that appear after following this guide).

Frequently asked questions

Why is SQL Server 2008 R2 the recommended version for MU Online Season 6?

SQL Server 2008 R2 (released 2010) is the version that most private MU Online Season 6 distributions were designed and tested against. The database stored procedures, ODBC drivers, and server binaries all assume SQL 2008 R2 behavior. While some distributions work on newer versions (2017, 2019), SQL 2008 R2 has the best compatibility track record for the widest range of S6 distributions. It still receives security updates under extended support and runs fine on Windows Server 2019.

Is SQL Server 2008 R2 free?

The Express edition is free but has limits (10 GB per database, 1 GB RAM cap). For a production MU server, these limits are usually acceptable for databases under 10 GB — which covers most private servers with under 5,000 active characters. If your MuOnline database exceeds 10 GB (large servers), you need Standard ($900+) or use SQL Server 2017/2019 Developer edition (free for development/testing only).

What is SSMS and do I need it?

SSMS (SQL Server Management Studio) is the graphical interface for managing SQL Server — browsing databases, running queries, restoring backups, and creating users. It's separate from the SQL Server engine itself and must be downloaded separately (for SQL 2008 R2, a compatible version is SQL Server Management Studio 2018). Yes, you need it — without SSMS, managing the database requires command-line tools only.

MuServer shows 'Connect Fail' even after SQL Server is installed — what's wrong?

The three most common causes: (1) TCP/IP is disabled in SQL Server Configuration Manager — it must be explicitly enabled and set to port 1433. (2) Authentication is set to 'Windows-only mode' instead of 'Mixed Mode' — MuServer uses SQL authentication (username+password) which only works in Mixed Mode. (3) The SQL Server service isn't running — check in Windows Services that 'SQL Server (MSSQLSERVER)' is Started. Fix all three and the Connect Fail should resolve.

RO
Founder & editor-in-chief

Rodrigo has run ViciadosMU since the portal's early days. A specialist in MU Online server creation and administration, game history and the evolution of the seasons — he wrote much of the archive before 2024.

Keep reading

Related articles

🗄️
Tutorial

How to install SQL Server 2000 for a classic MU Online server

Complete guide to installing SQL Server 2000 for old MU Online distributions (versions 0.97 and 0.99): when SQL Server 2000 is the right choice vs SQL Server 2008 R2, why SQL 2000 has compatibility issues on modern Windows and the recommended virtual machine approach, step-by-step installation on Windows XP/2003 (in VMware or VirtualBox), why Service Pack 4 (SP4) is absolutely mandatory, how to configure Mixed Mode authentication for MuServer connectivity, the Enterprise Manager and Query Analyzer tools included with SQL 2000, how to import the classic MU databases (.bak files), what to do when the installation fails on modern Windows, and the migration path from SQL 2000 to SQL 2008 R2 if your distribution supports it.

12 min · Advanced ·
⚙️
Tutorial

How to set up SQL Server for MU Online

Complete guide to configuring SQL Server for a MU Online server: restoring the MuServer databases (MuOnline, EventMU, RankingMU, LogServer), the correct collation that prevents character encoding issues, creating a dedicated SQL login with the right permissions, configuring ODBC Data Source Names (DSNs) so MuServer components can reach the database, the mandatory connection test before starting any game server component, reading and interpreting connection errors, enabling automatic startup so the database starts with Windows, and the three most common SQL configuration mistakes that cause Connect Fail.

12 min · Intermediate ·
🗄️
Tutorial

Install SQL Server 2014/2017/2019 for MU Online

Complete guide to installing modern SQL Server versions (2014, 2017, 2019) for MU Online: when modern SQL is the right choice vs SQL Server 2008 R2, the Express vs Developer vs Standard edition comparison, the full installation walkthrough with the critical Mixed Mode authentication step, why SSMS is now a separate download and how to get it, enabling TCP/IP in Configuration Manager, database compatibility levels for running classic S6 distributions on modern SQL (setting level 100 for SQL 2008 compatibility), creating the MuServer login user with T-SQL, and the most common compatibility problems when migrating a classic distribution from SQL 2008 to SQL 2019.

12 min · Intermediate ·