On 18 December 2015 at 05:26,  <bestwebtechjai...@gmail.com> wrote:
> Hello Everyone
>
>
> MySql Database Configuration with Ruby On Rails.
>
>
> Tell Me the correct way  of using MySql Database with ROR.
>
> Currently i am using Linux Ubuntu 14.04 & my Ruby Version :    ruby 2.1.4,
> Rails 4.2.5 & mysql : mysql  Ver 14.14 Distrib 5.5.46.

Do you already know how to develop using ROR?  If not then start by
working right through a good tutorial such as railstutorial.org (which
is free to use online) which will show you the basics of Rails.

Once you have done that (or if you already know how to develop with
rails) then in Gemfile remove any database specific gems you have and
replace with
gem 'mysql2'
and in database.yml put
  adapter: mysql2
  socket: /var/run/mysqld/mysqld.sock

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuZOtBVEuTOp%2B9K2x%3DrUqsju82Lq-v%2BH-Xe8hSx878P%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to