Thank you for your answer, Richard!
- Is the DB actually running? Can you "connect" to it using the "mysql" command on the command line?
yes
- Is the DB configured to accept TCP/IP network connections? It may be configured to permit only Unix Socket connections.
On the mysql conf file I added the lines:
port=3306
bind-address=0.0.0.0
And I opened the port 3306
firewall-cmd --zone=public --add-service=mysql --permanent
firewall-cmd --zone=public --add-port=3306/tcp --permanent
Thus, I think that it is now configured to accept TCP/IP connections, but the problem persists.
- Does the user you try to log in with actually have the permission to connect to the host?
Yes:
mysql> SHOW GRANTS FOR 'inception'@'localhost';
+------------------------------------------------------------------+
| Grants for inception@localhost |
+------------------------------------------------------------------+
| GRANT USAGE ON *.* TO `inception`@`localhost` |
| GRANT ALL PRIVILEGES ON `inception`.* TO `inception`@`localhost` |
+------------------------------------------------------------------+
And in the settings.properties file:
database.url=jdbc:mysql://localhost:3306/inception?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true
database.username=inception
database.password=the_password_I_gave_to_user_inception
I am going to redo the installation from scratch to see if there is something I am missing!
Thank you again for these suggestions and if you can think of anything else, please let me know.
All the best,
Helena