Ao subir o projeto, não consegui criar/listar usuários.
Seguem parte da tela do console:
2021-04-12 19:55:19,156 WARN [io.agr.pool] (agroal-11) Datasource '<default>': Could not create connection to database server. Attempted reconnect 3 times. Giving up.
bitcoin-jvm_1 | 2021-04-12 19:55:19,160 WARN [org.hib.eng.jdb.env.int.JdbcEnvironmentInitiator] (main) HHH000342: Could not obtain connection to query metadata: java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
bitcoin-jvm_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:903)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:828)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:453)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246)
bitcoin-jvm_1 | at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198)
bitcoin-jvm_1 | at io.agroal.pool.ConnectionFactory.createConnection(ConnectionFactory.java:200)
bitcoin-jvm_1 | at io.agroal.pool.ConnectionPool$CreateConnectionTask.call(ConnectionPool.java:452)
bitcoin-jvm_1 | at io.agroal.pool.ConnectionPool$CreateConnectionTask.call(ConnectionPool.java:434)
bitcoin-jvm_1 | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
bitcoin-jvm_1 | at io.agroal.pool.util.PriorityScheduledExecutor.beforeExecute(PriorityScheduledExecutor.java:65)
bitcoin-jvm_1 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1126)
bitcoin-jvm_1 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
bitcoin-jvm_1 | at java.base/java.lang.Thread.run(Thread.java:834)
bitcoin-jvm_1 | Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
bitcoin-jvm_1 |
bitcoin-jvm_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.