Answers for "how to connect to remote database in rails"

1

rails connect to remote database

[rails_env]:
  adapter: mysql2
  encoding: utf8
  pool: 5
  host: [mysql_ip]
  username: [mysql_username]
  password: [mysql_password]
  port: [mysql_port]
  socket: [path_to_mysql_socket_file]
  database: [db_name]
Posted by: Guest on April-06-2020

Code answers related to "how to connect to remote database in rails"

Browse Popular Code Answers by Language