Remote SQL setup
Command Centre Databases (SQL) › Setting up Command Centre with remote SQL
📋 Prerequisites: Read Databases - Hosting the DB on SQL Clustered or Remote server first.
This page answers
What account must the Command Centre services run as against a remote SQL server?
How do you prepare the remote SQL server?
How do you install Command Centre against remote SQL, and what goes wrong if the account rights are missing?
When the Command Centre databases live on a separate SQL server, the Command Centre services must run as a custom account (for example GGL_Service), never system or NT Network Service.
User accounts
Domain environment (straightforward): Create a domain user to run the CC services, for example
GGL_Service. Add it as a local admin on the CC server and give it sysadmin rights on the SQL server.Workgroup environment (more difficult): Create a local Windows account on both the CC server and the SQL server, with the same name AND password on both machines. Make it a local admin on the CC server and add it as sysadmin on the SQL server. This is not really a supported method; it is more of a workaround, but it does work for the Workgroup configuration.
Required rights
Running in a domain (GGL_Service domain user):
Local admin on the CC server
sysadmin on the SQL server: sysadmin is only required for the CC install; it can be
db_owner(dbo) thereafter
Alternatively, under workgroups (GGL_Service created locally on the CC server and SQL server, same password on both):
Local admin on the CC server
sysadmin on the SQL server: sysadmin only required for the CC install; can be dbo thereafter
Preparing the remote SQL server
Important: The SQL instance must be set up as per the Gallagher release note that comes with the version of Command Centre being used.
Important: The instance must have blank Gallagher databases attached BEFORE the Command Centre install is attempted. Run the SQL queries on the Gallagher install media under
Utilities\Database scripts\(easier to do on the SQL server).
Note: Gallagher does not expect any other databases to be attached to the instance hosting Command Centre.
1. Enable remote connections (SSMS)
Enable remote connections using SSMS (they seem to be enabled by default).

2. Enable TCP/IP (SQL Server Configuration Manager)

3. Enable the SQL Server Browser service (set to automatic)

4. Add the CC service account as sysadmin
Add the CC service account (GGL_Service) as sysadmin on the SQL server. Sysadmin is only required for the initial CC installation and can be removed afterward.

5. Confirm dbo rights after install
Following installation, ensure the CC service has dbo (database owner) rights on CCFTCentral and CCFTEvents.

Installing Command Centre against the remote SQL
On the Command Centre server, use one of these two approaches:
Approach A (logged in as any local admin):
Run the CC installer as a different user (Shift + right-click
setup.exe), running asGGL_Service.Change the CC service account to
GGL_Serviceduring the CC install.
Approach B (logged in as GGL_Service):
Run the CC installer as admin.
Change the CC service account to
GGL_Serviceduring the CC install.
Post-install
After installation, the CC service must be manually changed to GGL_Service and the recovery code applied. Launch CCFTRecoveryCode.exe (in the Bin directory) via Shift + right-click Run as different user as GGL_Service. The services will start and Command Centre should work as normal.
Fault finding
GGL_Service lacks sysadmin during install
If GGL_Service does not have sysadmin rights during the install, errors like these appear:



CC service account not changed during install
If the CC service account is not changed to GGL_Service during installation, the following error occurs:
🔗 Related
Databases - Hosting the DB on SQL Clustered or Remote server. Standalone vs clustered and locating the databases.
Databases - Recovering from a Dead Server. Rebuilding a site after a server failure.
Last updated
Was this helpful?
