SonarQube Configuration Guide¶
After installation, the next job is to point SonarQube at PostgreSQL and start the service cleanly.
Update the Database Settings¶
Edit the main configuration file:
Add or update these values:
sonar.jdbc.username=sonar
sonar.jdbc.password=sonar
sonar.jdbc.url=jdbc:postgresql://localhost:5432/sonar
Start SonarQube¶
Check the status:
Access the UI¶
Open:
Default credentials:
- Username:
admin - Password:
admin
Practical Advice¶
- Change the default password immediately
- Run SonarQube as a service for long-term use
- Keep database credentials out of screenshots and shared notes
Quick Check¶
Official guide: Install the Server