---
title: "Database settings"
canonical: "https://docs.cuesystem.com/space/Dep/151748649/Database%20settings"
format: markdown
---
The next page sets up the database connection.

**Database hosting model** – here you choose which database server you will use.

- ***Install SQL Express and configure***
  MS SQL Server Express will be installed on the CUE Server machine.  
Create and enter here unique:
  - ***Database name***, e.g. **touchONEserverDB**
  - ***Username***, e.g. **touchonedbadmin**. **DO NOT USE** the names **sa**, **admin**, and **administrator**, as these are reserved for other purposes.
  - ***Password***

> ℹ️ You can use the **Generate **button to automatically create these parameters.


- ***Use SQL Server instance***
  You have MS SQL Server in your infrastructure and you want to store here the database used by the CUE Server. A description of the necessary settings on MS SQL Server is [here](https://cue.atlassian.net/wiki/spaces/Dep/pages/152043547). Fill in the following fields:
  - ***Server URL***** **or SQL server IP address
  - ***Database name*** e.g. **touchONEserverDB**. A **database **with this name **must not exist** on the **MS SQL Server**. It will be created by this installation program.
  - ***Username***, e.g. **touchonedbadmin**. **DO NOT USE** the names **sa** and **administrator**, as these are reserved for other purposes.
  - ***Password***
  - **Username **and **password **must match the one that was created when [preparing the SQL server](https://cue.atlassian.net/wiki/spaces/Dep/pages/152043547).
  - Use the **TEST CONNECTION** button to check if the connection to the database server is working well.
    
- Click **Save / Next** to continue.