Sonarqube can not connect to the sql server database

I am using sql server 2017 for Sonarqube, create the database as the documentation says and decompose the corresponding lines of sonar.propiertes, but I have not been able to connect. This was what I found in the web log.

2019.04.02 22:46:59 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.').

Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (Login failed for user 'sonar'. ClientConnectionId:caf9a495-6745-4d71-b730-61c38e6356e7)

My database is called sonar and the user and password is also sound.