mysql on rails 2.3.2

mysql driver is no longer bundled w/ rails. you’ll need to install it yourself w/

sudo gem install mysql

however, on ubuntu (heron) this won’t work. issue these commands first

sudo apt-get install libmysql-ruby libmysqlclient-dev

if libmysqlclient-dev fails… try libmysqlclient15-dev

then run

sudo gem install mysql

Related posts:

  1. Fixing MySQL for Rails 2.2 Development on Mac OS X
  2. Setting up a new ubuntu server with apache2, php, ruby on rails, rubygems, mysql, and git
  3. Sample Rails Database Config for MySQL
  4. Generate MySQL Datetime Type Using PHP Date() Function
  5. Dump MySQL Database without Drop Table Syntax
This entry was posted in Programming, Ruby on Rails and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>