Forum: Ruby on Rails encoding: utf8 in database.yml causes error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
88dea4ee78b01aef165e911acf3d9c1c?d=identicon&s=25 Daniel Mcbrearty (danmcb)
on 2006-03-05 05:45
(Received via mailing list)

Using ruby 1.8, rails 1.0, mysql 4.1.11

in database.yml:

  adapter: mysql
  encoding: utf8
  database: myproject_development
  username: user
  password: password
  socket: /var/run/mysqld/mysqld.sock

but when I start the error I get:

Can't initialize character set utf8 (path:

Can anyone tell me what file it's looking for, and how I tell it where
to find it? (The path it's trying doesn't even exist.)



Daniel McBrearty
email : danielmcbrearty at : the multi - language vocab trainer
BTW : 0873928131
B2ee3ee5087b7aa7202a98da372cae00?d=identicon&s=25 Yaroslav Markin (Guest)
on 2006-03-20 22:18
(Received via mailing list)
Guess you need to install libmysqlclient for your distribution. You
didn't say what distro do you use.
This topic is locked and can not be replied to.