I'm starting in ruby on rails and I want to make an application connected to mysql , but the database is on a remote server. I have to create the database beforehand or I do it later from the console with rake db: create?
Here's my database.yml:
default: &default
adapter: mysql2
encoding: utf8
pool: 5
username: root
password: xxxx
host: 192.168.1.xx
and this is the error I get:
Access denied for user 'root' @ '%' to database 'app_name_development'
Does anyone have any idea how to perform this task?