Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.4.1
-
Fix Version/s: None
-
Component/s: Database
-
Labels:None
-
Environment:Mysql 5.1 Sonar 2.4.1 Window XP Hudson
Description
If a mysql user account 'sonar'@'%'is setup with not enough privileges on the sonar database then the following error is thrown.
Embedded error: PicoLifecycleException: method 'public void org.sonar.jpa.session.AbstractDatabaseConnector.start()', instance 'org.sonar.jpa.session.DriverDatabaseConnector@a50da4, java.lang.RuntimeException: wrapper
Database schema must be updated [version/required=-1/152]. Please browse to your sonar homepage.
It would be nice if Sonar could detect databse privilege problems and report them as such.
This issue should be fixed in version 3.0.