SonarQube configuration error: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path
While configuring a SonarQube server to use SQL Server, I encountered the following error after enabling Integrated Security in the JDBC connection string. After adding “integratedSecurity=true” I got the following error message when I tried to start SonarQube:
WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path
Let’s fix this:
- First of all make sure that you downloaded the Microsoft JDBC drivers(available here: https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774)
- Run the exe to extract the content. Inside you”ll find the sqljdbc_auth.dll
- Copy this dll inside the windows\system32 folder
That should do the trick…