The installation package of MS SQL 2017 Express is included in the Safetica installation package. However, SQL server can be independently or within the automatic installation of Safetica. It is also possible to connect Safetica to a database server that already has other databases running. In such a case, make sure that this server has enough hardware resources to run multiple instances/databases.
Supported Versions
- For a direct installation, minimum of MS SQL 2012 and above, with MS SQL 2016 as a recommended SQL version
- For migration or clean installation of the database server, we recommend using an updated server to the latest versions including service packs
Note: During the migration, you might encounter an error when moving to MS SQL 2016 without a service pack, as it does not support clustered column store indexes used in our design. That is why we recommend making sure that you are always running the latest build of the SQL server.
Automatic Installation
- All configuration is done automatically
- Service account Safetica is created automatically during the installation of SMS with sysadmin permissions
- The default password for "safetica" account is S@fetic@2004
- Safetica Management Service will have a pre-defined connection to the database via the above-mentioned account
- The default instance name is SERVERNAME\SAFETICA
Manual Installation from Safetica Installer Package
- Can be automatically started from Safetica installer during installation of Safetica Management Service via "New installation of SQL Server Express"
Installation from the Safetica package differs from an SQL installer downloaded from the official websites. These are the main differences:
- During the installation, the install directory cannot be selected
- "sa" account cannot be configured
- you cannot specify services which you want to install
- the only thing that can be changed is the instance name
- in order to modify installation properties, the corresponding (or newer) version of the SQL server has to be downloaded from the official websites
Manual Installation from Other Sources
If there is already SQL server installed it is not necessary to install it again. You can create a separate instance on an already existing SQL server if it meets the recommended settings.
We recommend creating a separate instance for Safetica databases, however, an already existing instance can be used. In order to do so, you have to specify the connection details manually as can be seen in section SMS - Installation.
Potential Network Issues When Connecting to Already Installed SQL Server
When using an existing instance or SQL server was installed from another source, there are some pre-requisites that might not be set by default and need to be adjusted manually. In order to connect SMS to the database server you will need:
- Running SQL Browser service, which is responsible for delegating the incoming connections. The current state of the SQL browser can be verified via the SQL server configuration manager
- Another requirement is to have enabled Named Pipes and TCP/IP protocol for SQL. This can be adjusted in SQL Server Configuration Manager - SQL Server Network configuration - Protocols for "INSTANCENAME". In this view, you can verify the current settings, as well as the IP address of the server and port settings for the SQL. If the TCP Dynamic Ports is set to 0 it means that the dynamic ports are enabled. If there are other settings stated, it has to be taken into consideration when setting Database Connection in Safetica Management Console - Profile.