- Sonarqube Version -: 7.3
- Cent OS -7.5
- Oracle - 22.214.171.124
I am trying to connect Sonarqube with Oracle.
In Oracle i have created new user name as sonar and gave all the permissions. with below command.
CREATE USER sonar IDENTIFIED BY sonar;
GRANT ALL PRIVILEGES TO sonar;
When I start my sonarqube first time it was working as expected but once I have stopped and start again It is throwing error like below.
ERROR web[o.s.s.p.Platform] Web server startup failed
java.lang.IllegalStateException: Can not connect to database. Please check connectivity and settings (see the properties prefixed by ‘sonar.jdbc.’).
When I totally remove and reinstall whole sonar setup with oracle users its working as expected but after stop it is not working.
Thanks in advance!!!