blob: 89979fe64ee44f3f644edb2266caf204e28fd7f9 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
torque.applicationRoot = .
torque.defaults.pool.testOnBorrow=true
torque.defaults.pool.validationQuery=SELECT 1
torque.database.schema =
# -------------------------------------------------------------------
#
# Shared Pool Data Source Factory
#
# -------------------------------------------------------------------
torque.database.default.adapter=auto
torque.dsfactory.default.connection.driver = com.mysql.cj.jdbc.Driver
# mapped port for 3306
torque.dsfactory.default.connection.url = jdbc:mysql://192.168.99.101:3306/default?serverTimeZone=UTC
torque.dsfactory.default.connection.user = root
torque.dsfactory.default.connection.password = test1234
# if dbcp is removed, use org.apache.torque.dsfactory.SharedPoolDataSourceFactory again
torque.dsfactory.default.factory=org.apache.torque.dsfactory.SharedPool2DataSourceFactory
# -------------------------------------------------------------------
# Comment if not using shared data source factory
torque.database.default=default