Hi, im new to ruby on Rails..i install all ror files..if i try to work in database there is sqlite3 is default.??.. if i change to mysql im getting error...in localhost development side...?? how to change sqlite3 to mysql..?? help pls..?? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, Feb 20, 2009 at 8:06 AM, haneef5k <haneef5k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> how to change sqlite3 to mysql..??1) install MySQL 2) install mysql gem 3) edit config/database.yml appropriately 4) if you''ve already started development, run rake db:schema:load to install your tables HTH, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Please, be more specific. What error message are u getting? Anyway, i suspect that it''s because u don''t have the mysql gem installed. Try installing it: gem install mysql On Feb 20, 11:06 am, haneef5k <hanee...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > im new to ruby on Rails..i install all ror files..if i try to work in > database there is sqlite3 is default.??.. if i change to mysql im > getting error...in localhost development side...?? > how to change sqlite3 to mysql..?? help pls..??--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
If you''re just getting started, create your project with: rails myproject -d mysql -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank for reply... On Feb 20, 9:19 pm, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Feb 20, 2009 at 8:06 AM, haneef5k <hanee...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > how to change sqlite3 to mysql..?? > > 1) install MySQL > 2) install mysql gem > 3) edit config/database.yml appropriately > 4) if you''ve already started development, run > rake db:schema:load > to install your tables > > HTH, > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank for reply... On Feb 20, 9:22 pm, Leonardo Borges <leonardo.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Please, be more specific. What error message are u getting? > > Anyway, i suspect that it''s because u don''t have the mysql gem > installed. > > Try installing it: gem install mysql > > On Feb 20, 11:06 am, haneef5k <hanee...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi, > > im new to ruby on Rails..i install all ror files..if i try to work in > > database there is sqlite3 is default.??.. if i change to mysql im > > getting error...in localhost development side...?? > > how to change sqlite3 to mysql..?? help pls..??- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Can u tell me how to install full RoR complete package with default of database adapter with mysql .?im getting sqlite3 is default??? On Feb 20, 9:19 pm, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Feb 20, 2009 at 8:06 AM, haneef5k <hanee...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > how to change sqlite3 to mysql..?? > > 1) install MySQL > 2) install mysql gem > 3) edit config/database.yml appropriately > 4) if you''ve already started development, run > rake db:schema:load > to install your tables > > HTH, > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Can u tell me how to install full RoR complete package with default of database adapter with mysql .?im getting sqlite3 is default??? On Feb 20, 9:22 pm, Ar Chron <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> If you''re just getting started, create your project with: > > rails myproject -d mysql > > -- > Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, Feb 20, 2009 at 8:27 AM, haneef5k <haneef5k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Can u tell me how to install full RoR complete package with default of > database adapter with mysql .?im getting sqlite3 is default???Yes, SQLite3 is the current default; if you want to use something else you need to follow the process I outlined. HTH, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Download edge Instantrails . and make rails application from command promt rails -d mysql applicationname you can able to work with mysql. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, Schroeder Can u tell me,? which editor is best for Ruby on Rails..apps?? On Feb 20, 9:19 pm, Hassan Schroeder <hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Feb 20, 2009 at 8:06 AM, haneef5k <hanee...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > how to change sqlite3 to mysql..?? > > 1) install MySQL > 2) install mysql gem > 3) edit config/database.yml appropriately > 4) if you''ve already started development, run > rake db:schema:load > to install your tables > > HTH, > -- > Hassan Schroeder ------------------------ hassan.schroe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Sat, Feb 28, 2009 at 9:26 PM, haneef5k <haneef5k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Can u tell me,? which editor is best for Ruby on Rails..apps??The one you''re most proficient with :-) At various times I use jEdit, NetBeans and vi for Rails development, all reasonably cross-platform so I don''t have to switch mental gears too much going between Linux and Mac. YMMV, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
myproject user$ cd user $ *rails new myproject -d mysql* say ''no'' for all question but for'' Overwrite .../myproject/config/* database.yml*? (enter "h" for help) [Ynaqdh]'' say ''yes'' -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/og2DQjiIm7YJ. For more options, visit https://groups.google.com/groups/opt_out.