Play 2.0.4 can't access to mysql

I have to modify a system made a long time ago in Play 2.0.4 and I’m having problems accessing mysql. I know it’s a very old version; The next step may be to update it and make some changes to make it a responsive website.

I had to install Java 7 and mysql 5.6.42 which I think were the ones I had installed on the development machine used at that time.
This app was made by another company and I made a little modification a while ago, I’m not an expert in play.

The mistake is:
Can not connect to database [default]
In F:\Pl\acol\conf\application.conf at line 26.

in the application.conf:

db.default.driver = com.mysql.jdbc.Driver
db.default.url = “jdbc:mysql://localhost:3306/acol”
db.default.user = root
db.default.password = abcd

In Build.scala I have:
val appDependencies = Seq(
// Add your project dependencies here,
“mysql” % “mysql-connector-java” % “5.1.+”,
“commons-lang” % “commons-lang” % “2.5”,
“org.jasypt” % “jasypt” % “1.9.+”,
“org.mybatis” % “mybatis” % “3.0.+”,
//“ads” % “ads-connector-java” % “9.10”,
“org.apache.commons” % “commons-email” % “1.2”

I have access to said database from an external utility such as sqlyog. The user and the password are fine.

The log is:

f:\Pl\acol>play run
[info] Loading project definition from F:\Pl\acol\project
[info] Set current project to acol (in build file:/F:/Pl/acol/)

[info] Updating {file:/F:/Pl/acol/}acol…
[info] Resolving org.hibernate.javax.persistence#hibernate-jpa-2.0-api;1.0.1.Fin

[info] Done updating.
— (Running the application from SBT, auto-reloading is enabled) —

[info] play - Listening for HTTP on port 9000…

(Server started, use Ctrl+D to stop and go back to the console…)

[info] Compiling 37 Scala sources and 41 Java sources to F:\Pl\acol\target\scala
[warn] Note: Some input files use or override a deprecated API.
[warn] Note: Recompile with -Xlint:deprecation for details.
[warn] Note: Some input files use unchecked or unsafe operations.
[warn] Note: Recompile with -Xlint:unchecked for details.
[error] c.j.b.h.AbstractConnectionHook - Failed to obtain initial connection Sle
eping for 0ms and trying again. Attempts left: 0. Exception: null
[error] application -

! @7a7gmj129 - Internal server error, for request [GET /] ->

play.api.Configuration$$anon$1: Configuration error [Cannot connect to database
at play.api.Configuration$.play$api$Configuration$$configError(Configura
tion.scala:71) ~[play_2.9.1.jar:2.0.4]
at play.api.Configuration.reportError(Configuration.scala:258) ~[play_2.
at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:249) ~[pla
at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:240) ~[pla
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike
.scala:194) ~[scala-library.jar:0.11.3]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike
.scala:194) ~[scala-library.jar:0.11.3]
Caused by: java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (usi
ng password: YES)
at com.mysql.jdbc.SQLError.createSQLException( ~[mysql
at com.mysql.jdbc.MysqlIO.checkErrorPacket( ~[mysql-co
at com.mysql.jdbc.MysqlIO.checkErrorPacket( ~[mysql-co
at com.mysql.jdbc.MysqlIO.checkErrorPacket( ~[mysql-con
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My ~[mysql-connector-java-5.1.47.jar:5.1.47]
at com.mysql.jdbc.MysqlIO.doHandshake( ~[mysql-connect

Can I help me?
I thank you very much, any help is appreciated

Actually did you confirm that root@localhost can login with the same password? MySQL auth is dependent on the host value as well and you may have to permit that specific combo.

Hello Bentito

After re-uninstalling and reinstalling another version that I had,, of that time, and replacing the pass I was supposed to be using, it was now able to connect.
Maybe when he typed it he ate a character, I do not know.
Thank you very much for your prompt response.
Now I will continue solving other problems :)
Many greetings