Also by default if you'd created the app as a MySQL app in the first place: encoding: utf8 reconnect: false socket: /var/run/mysqld/mysqld.sock
HTH. On Sun, Apr 17, 2011 at 6:02 PM, Peter De Berdt <peter.de.be...@pandora.be>wrote: > > On 17 Apr 2011, at 17:04, amrit pal pathak wrote: > > On Apr 17, 7:27 am, Chris Kottom <ch...@chriskottom.com> wrote: > > Are you planning to continue using sqlite in the production environment? > > Most people don't, but it's not a problem to do so. > > > If not or if the default sqlite settings aren't right for you, then you'll > > need to make some changes, but those will depend on the environment you're > > deploying into. But what those should be isn't a question the mailing list > > can answer for you without more information. > > > The production environment setting with sqllite are by > default .I want to use mysql for production too.So i changed the > production enviornment settings to > production: > adapter: mysql > database: blog > username: root > password: 12345 > pool: 5 > timeout: 5000 > > Is it enough?? > > > If you're running Rails 3, you're better off using "mysql2" as the adapter > and you have to make sure you include the mysql2 gem in your Gemfile too. > Also, you might want to use a more secure password for MySQL on your > production server ;-) > > > Best regards > > > Peter De Berdt > > -- > 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 this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.