I am experimenting an error with the DDBB connection
mariaciffu
TRIALOP

a year ago

Hello,

I am new to this and I am trying to deploy my web application. I already have the gateway up and running, eureka and I have created a mySQL database, but when I try to deploy my microservice it gives me connection error with the database.
My repository is: https://github.com/MariaCiffu/Miembros.git

The mySQL variables are:
MYSQLDATABASE
railway

MYSQLHOST
roundhouse.proxy.rlwy.net

MYSQLPASSWORD
mtCacQqNhsyrvTVqccpuLxZdXYFIEpIK

MYSQLPORT
40027

MYSQLUSER
root

MYSQL_DATABASE
railway

MYSQLPRIVATEURL
mysql://root:mtCacQqNhsyrvTVqccpuLxZdXYFIEpIK@mysql.railway.internal:3306/railway

MYSQLROOTPASSWORD
mtCacQqNhsyrvTVqccpuLxZdXYFIEpIK

MYSQL_URL
mysql://root:mtCacQqNhsyrvTVqccpuLxZdXYFIEpIK@roundhouse.proxy.rlwy.net:40027/railway

And the ones I have created in the microservice:
DB_DRIVER
com.mysql.cj.jdbc.Driver

DB_PASSWORD
mtCacQqNhsyrvTVqccpuLxZdXYFIEpIK

DB_URL
jdbc:mysql://root:mtCacQqNhsyrvTVqccpuLxZdXYFIEpIK@mysql.railway.internal:3306/railway

DB_USER
root

EUREKA_URL
http://eureka.railway.internal:8761/eureka

HOSTNAME
miembros-production.up.railway.app

PORT
8088

PROFILE
railway

Thank you very much in advance

View Deploy details

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

1 Replies

mariaciffu
TRIALOP

a year ago

The log

Attachments


Loading...