@yakiimosan33 (yakiimo lab)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

【Spring Boot】Could not create connection to database server

解決したいこと

以下のサイトを参考にアプリを作っております。
https://qiita.com/rubytomato@github/items/e4fda26faddbcfd84d16
GITからインポートして、DB作成し実行するとエラーが発生しました。
解決方法を教えて下さい。

発生している問題・エラー

2021-9-26 15:14:14.091 ERROR [main] o.a.tomcat.jdbc.pool.ConnectionPool - Unable to create initial connections of pool. 
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.

自分で試したこと

application.ymlの
server:port、
datasource:username、とpassword
以外は特に変更してない状態で実行しています。

0 likes

No Answers yet.

Your answer might help someone💌