Trying to deploy springboot backend with mysql database
codetogoogle
TRIALOP

a year 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).

DBPORT=3306 DBNAME=railway
DBUSERNAME=root DBPASSWORD=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

Loading...