Are you deploying your JRuby-on-Rails applications on Solaris (or any variety of Unix) and not able to
connect to the database ?
I experienced it last week so thought of sharing the tip here.
Luckily it's really simple.
Here is the default generated "config/database.yml"
|
development: adapter: mysql encoding: utf8 database: runner_development username: root password: socket: /tmp/mysql.sock |
The only required change is to add "host: 127.0.01" for the
required database configuration. The updated fragment is shown
below (with change highlighted):
…