Ir al contenido
Otras versiones

Cargando…

Base de datos

Configurar los orígenes de datos de Tomcat

Edite el fichero $TOMCAT_HOME/remote-signature.properties:

Ventana de terminal
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/remote-signature?useUnicode=true&characterEncoding=UTF8&serverTimezone=CET
spring.datasource.username=openkm
spring.datasource.password=*secret*
Ventana de terminal
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3306/remote-signature?autoReconnect=true&useUnicode=true&characterEncoding=UTF8
spring.datasource.username=openkm
spring.datasource.password=*secret*
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5432/remote-signature
spring.datasource.username=openkm
spring.datasource.password=*secret*
spring.datasource.validationQuery=SELECT 1
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=remote-signature
spring.datasource.username=openkm
spring.datasource.password=*secret*
spring.datasource.validationQuery=SELECT 1

H2:

Ventana de terminal
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:./remote-signature
spring.datasource.username=openkm
spring.datasource.password=*secret*