Ruby on Rails Thursday, June 30, 2011

example yml setting

development:
adapter: mysql
encoding: utf8
reconnect: false
database: name_of_database
pool: 5
username: agoodone
password: secret
socket: /tmp/mysql.sock


I've always used mysql Gem
> gem install mysql

John

On Jun 30, 7:58 am, John Ivanoff <john.ivan...@gmail.com> wrote:
> I have a posthttp://bit.ly/lNxcB1where I did a clean install for
> rails 3 any MySQL. I am also using MySQL 5.1 on Win XP
> It is a pain to get it going on windows but once you do it run OK.
> Also on my blog I've posted a few gotcha's I've had with windows and
> some gems.
>
> Hope it helps.
>
> John
>
> On Jun 30, 2:20 am, Chirag Singhal <chirag.sing...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Easiest way to get started with Rails on Windows is to use RailsInstaller -http://railsinstaller.org/
>
> > MySQL 5.1 has issues with Rails on windows, so better use MySQL 5.0, while
> > installing either choose the option where mysql exe is added to path or copy
> > libmysql.dll after installation to ruby's bin folder.
>
> > If this doesn't work, then post the exact error you encounter and we will
> > take it from there.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment