Microsoft SQL Server database prerequisites and setup.
Microsoft SQL Server Prerequisites
-
Enable the "Allow remote connections to server" setting.
EcoSys Connect Collation Support
The EcoSys Connect requires a Case Insensitive (CI) collation.
Setting Up the SQL Server Database
-
Edit the \database\create\sqlserver\setup\create.sql script:
-
If a password other than "ecuser" is used for "ecuser" login, modify the portion of the script that creates the "ecuser" login and password.
Create Login as ECUSER with password = ecuser
-
-
Execute the create.sql
Script as SA or a privileged user.
-
Apply schema updates as follows:
-
Copy the correct JDBC jar file to the \database\upgrade folder
-
Open the \database\upgrade\liquibase.properties file for editing
-
Locate the SQL Server section, set the URL, username, Password, liquibaseSchemaName, and classpath based on your environment.
-
Save the file.
-
-
Open a shell on the host
-
Change directories to \database\upgrade
-
Ensure JAVA is on the path
JRE 1.8 or above is required
-
Run the command upgrade.bat
-
The result of the command appears as follows:
-