Hello. I'm just a beginner here, so I appologize for any stupid questions.
I'm trying to get Ruby on Rails to connect to a remote MySQL databse I've set up. I'm able to use a MySQL database setup on my local machine just fine, but when I copy it to our server and change the databse.yml file to point to the server, I get an error saying that it lost connection to the database durring the query. The host IP address, user name and password are all set in the .yml file. I can't figure out why it'd be losing the connection. Is there something I have to have running on the DB server?
As I said, I'm very new to this. Just started learning it last Friday, so be gentle.
I'm trying to get Ruby on Rails to connect to a remote MySQL databse I've set up. I'm able to use a MySQL database setup on my local machine just fine, but when I copy it to our server and change the databse.yml file to point to the server, I get an error saying that it lost connection to the database durring the query. The host IP address, user name and password are all set in the .yml file. I can't figure out why it'd be losing the connection. Is there something I have to have running on the DB server?
As I said, I'm very new to this. Just started learning it last Friday, so be gentle.