MySQL not working with rails app

I'm getting the error displayed on the image whenever I try to deploy my project. I have a rails app and a MySQL database. I've configured the following ENV variables:
database: <%= ENV["MYSQLDATABASE"] %>
username: <%= ENV["MYSQLUSER"] %>
password: <%= ENV["MYSQLPASSWORD"] %>
port: <%= ENV["MYSQLPORT"] %>
host: <%= ENV["MYSQLHOST"] %>
database: <%= ENV["MYSQLDATABASE"] %>
username: <%= ENV["MYSQLUSER"] %>
password: <%= ENV["MYSQLPASSWORD"] %>
port: <%= ENV["MYSQLPORT"] %>
host: <%= ENV["MYSQLHOST"] %>
I've also noticed that my MYSQLHOST variable is empty. In addition, this project already has an schema, how can I load the tables in the MySQL on Railway?
No description
5 Replies
Percy
Percy3w ago
Project ID: 2642dbc2-e614-4e2b-b91d-4273150a6576
miracle
miracleOP3w ago
2642dbc2-e614-4e2b-b91d-4273150a6576
Brody
Brody3w ago
you dont have private networking enabled
No description
miracle
miracleOP3w ago
thank you
Brody
Brody3w ago
was that the fix?
Want results from more Discord servers?
Add your server