dimanche 10 janvier 2016

Connecting MYSQL database to with Ruby on rails

I'm trying to connect a local MYSQL database to my Ruby on Rails app but get a command prompt error.

I've installed the following gems:

gem 'mysql'
gem 'tiny_tds'
gem 'activerecord-sqlserver-adapter'

My database.yml file is:

Development:
  adapter:  mysql
  host:     localhost
  Port:     3306
  database: betifydb
  username: root
  Password: Password

When I launch my rails server through the command prompt i get this error: http://ift.tt/1Rua3uf

Thanks guys.

Aucun commentaire:

Enregistrer un commentaire