Re: [Rails] Re: How to connect to a mysql database through a rails application.

2012-09-13 Thread keerthi priya
when you are trying to create a app just add these line -d mysql you will
get the yml according to mysql  and change the username and password
according to your mysql password.

On Thu, Sep 13, 2012 at 6:23 PM, abhijit m. li...@ruby-forum.com wrote:

 Hello Ir, please provide chaqnges in .yml file...for Mysql...'
 I have cretaed MySql datbase and now i want to connect my MySql DB on
 rails...

 --
 Posted via http://www.ruby-forum.com/.

 --
 You received this message because you are subscribed to the Google Groups
 Ruby on Rails: Talk group.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To unsubscribe from this group, send email to
 rubyonrails-talk+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Rails] Re: How to connect to a mysql database through a rails application.

2012-09-13 Thread Colin Law
On 13 September 2012 14:14, keerthi priya emailtokeerthipr...@gmail.com wrote:
 when you are trying to create a app just add these line -d mysql you will
 get the yml according to mysql  and change the username and password
 according to your mysql password.

If you have already created the app and want to change it to mysql
then create a new app as Keerhi has suggested
rails new test_app -d mysql
then you can look at database.yml and see what is required.

Colin



 On Thu, Sep 13, 2012 at 6:23 PM, abhijit m. li...@ruby-forum.com wrote:

 Hello Ir, please provide chaqnges in .yml file...for Mysql...'
 I have cretaed MySql datbase and now i want to connect my MySql DB on
 rails...

 --
 Posted via http://www.ruby-forum.com/.

 --
 You received this message because you are subscribed to the Google Groups
 Ruby on Rails: Talk group.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To unsubscribe from this group, send email to
 rubyonrails-talk+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 You received this message because you are subscribed to the Google Groups
 Ruby on Rails: Talk group.
 To post to this group, send email to rubyonrails-talk@googlegroups.com.
 To unsubscribe from this group, send email to
 rubyonrails-talk+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
You received this message because you are subscribed to the Google Groups Ruby 
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.