It is advised to use SQL Server Authentication instead of Windows Authentication. To enable it, select the server instance in Micorosft SQL Server Management Studio, go to Properties / Security / Server authentication and select SQL Server and Windows Authentication mode. The server instance needs to be restarted.
Note | |
---|---|
Make sure you have:
|
Create a new database
CREATE DATABASE clover_db;
Enable Read Committed Snapshot Isolation on the new database
ALTER DATABASE clover_db SET READ_COMMITTED_SNAPSHOT ON;
Create a new login role.
CREATE LOGIN clover with PASSWORD = 'clover', DEFAULT_DATABASE = clover_db;
Connect to the database.
USE clover_db;
Create a new database user.
CREATE USER clover FOR LOGIN clover;
Add database role membership db_owner (Members of the db_owner fixed database role can perform all configuration and maintenance activities on the database, and can also drop the database).
EXEC sp_addrolemember 'db_owner','clover';
Using MS SQL requires configuration of database server.
run Micorosft SQL Server Management Studio tool;
create a new user under Security/Logins;
under Databases create a new database (e.g. 'clover') for ClovarETL server, select the user from the previous step as owner of the database;
under database Options, set the Is Read Committed Snapshot On option to True;
If you use a properties file for configuration,
specify these parameters:
jdbc.driverClassName, jdbc.url, jdbc.username,
jdbc.password, jdbc.dialect.
For example:
jdbc.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver jdbc.url=jdbc:sqlserver://localhost:1433;instance=SQLSERVERINSTANCE;database=clover_db jdbc.username=user jdbc.password=pass jdbc.dialect=org.hibernate.dialect.SQLServerDialect
Please do not forget to add a JDBC 4 compliant driver on the application server classpath. A JDBC driver that does not meet the JDBC 4 specifications will not work properly.
Note | |
---|---|
Continue with: Encrypted JNDI or CloverETL Server Activation |