blob: ce0f260d6159a7e73bbec9cae18b8995db22ee99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env bash
set -euo pipefail
source scripts/property_utils.sh
SQ_HOME=$1
echo "configuring mysql"
set_property sonar.jdbc.url "jdbc:mysql://localhost:3306/sonarqube?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance" "$SQ_HOME/conf/sonar.properties"
set_property sonar.jdbc.username sonarqube "$SQ_HOME/conf/sonar.properties"
set_property sonar.jdbc.password sonarqube "$SQ_HOME/conf/sonar.properties"
|