Trying to deploy springboot backend with mysql database
codetogoogle
TRIALOP

2 years ago

Description:

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class

Action:

Consider the following:

If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.

If you have database settings to be loaded from a particular profile you may need to activate it (the profiles {ENV:prod} are currently active).

DB_PORT=3306

DB_NAME=railway

DB_USERNAME=root

DB_PASSWORD=lWhSnswbRiOftIAimgBCTvymsuiqxVqg

DB_HOST=mysql.railway.internal

Database variables i used to connect, and created env variables in my project. now , I don't know where I'm going wrong.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

Welcome!

Sign in to your Railway account to join the conversation.

Loading...