MySQL not working with rails app
gopxfs
HOBBYOP

a year ago

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"] %>

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?

4 Replies

gopxfs
HOBBYOP

a year ago

2642dbc2-e614-4e2b-b91d-4273150a6576


a year ago

you dont have private networking enabled

1303141170121277400


gopxfs
HOBBYOP

a year ago

thank you


a year ago

was that the fix?


Loading...