Navigation:  Traditional SoftExpert Suite installation > Pre-required activities > Database configuration >

Microsoft SQL Server

Previous  Top  Next

This section covers the procedure to create and configure the database in the SQL Server. See the steps below:

 

Refer to the SoftExpert Suite - System Requirements document for more details on SQL Server considerations.

This procedure assumes that SQL Server is properly installed.

If the system uses TLS 1.2 for connections with the database, it is important for the Windows operating system to be updated and for the Microsoft Native SQL Client driver to be installed and updated in the system. It is also necessary to have Microsoft ODBC Driver 17 or higher installed. Access the following links to obtain these packages:

oNative Client: https://www.microsoft.com/pt-BR/download/details.aspx?id=50402

oODBC Driver 17: https://www.microsoft.com/pt-br/download/details.aspx?id=56567

 

1.Open SQL Server Management Studio.

 

2.Connect to the server.

 

3.Right-click on Databases and then click on New Database.

 

4.On the left side, on the General page, enter a name in Database name.

Example: sesuite

 

5.On the left side of the Options page, choose the 'collation' to be used and click on OK.

 

The collations that may be used in western languages for the SoftExpert Suite database on the SQL Server are:

SQL_Latin1_General_CP1_CI_AS

SQL_Latin1_General_CP1_CI_AI

Latin1_General_CI_AS

Latin1_General_CI_AI 

The CI (Case Insensitive) parameter of the collation must always be used. We recommend the use of the AI (Accent Insensitive) parameter for new databases starting in 2.0. For eastern languages, contact SoftExpert's Support.

 

6.In the hierarchical tree, expand the Security item.

 

7.Right-click on the Logins button.

 

8.Click on New Login.

 

9.On the left side of the General page, in the Login name, enter a name for the login.

Example: sesuite

 

10. Check the SQL Server authentication option.

 

11. In Password, enter a password and confirm it in Confirm password.

 

12. Uncheck the Enforce password policy option.

 

13. In Default database, select the database created in steps 3 to 5.

 

14. In Default language, select the English language.

 

15. Click on the User Mapping page and, in Users mapped to this login, select a database created from steps 3 to 5.

 

16. In the Database Role membership box, check the following options:

Public;

db_owner.

 

17. Click on OK;

 

18.Run the following commands to apply a property that the application uses, replacing <Database> with the name of the created database:

 

ALTER DATABASE <Database> SET ALLOW_SNAPSHOT_ISOLATION ON

GO

ALTER DATABASE <Database> SET READ_COMMITTED_SNAPSHOT ON

GO

 

Network configuration

It is necessary to enable the TCP/IP connections in SQL Server Configuration Manager. See the steps below:

 

19. Open the SQL Server Configuration Manager;

 

20. In the hierarchical tree, expand the SQL Server <version> Network Configuration item.

 

21. Click on Protocols for MSSQLSERVER.

 

22. In the box on the right side, right-click on TCP/IP.

 

23. Click on Properties.

 

24. On the Protocol tab, in Enable, select the Yes value.

 

25.Access the IP Addresses tab.

 

26. In each existing IP, in Enable, select the Yes value.

 

27. In each existing IP, check whether the port defined in TCP Port is 1433.

 

28. Click on OK and restart the SQL Server.

 

If you do not need to configure another database, continue with the SoftExpert Suite installation from the Installation activity section.