Looking for a small database testing application

I keep getting an error when I try to run a redmine installation.

This is what comes up.

.gems/gems/activerecord-2.3.5/lib/active_record/connection_adapters/
mysql_adapter.rb:589:in `real_connect’: Can’t connect to local MySQL
server through socket ‘/var/run/mysqld/mysqld.sock’ (2) (Mysql::Error)

The database server is a remote server, and I can’t see why
activerecord is complaining about the absence of a local socket.

The part of the installation to initialize the database went fine.

Is there a small test app I can use to check if the database
connectivity part is working properly? Something read a row or test
the existings of some tables?

On Feb 20, 7:42 pm, vfclists [email protected] wrote:

I keep getting an error when I try to run a redmine installation.

This is what comes up.

.gems/gems/activerecord-2.3.5/lib/active_record/connection_adapters/
mysql_adapter.rb:589:in `real_connect’: Can’t connect to local MySQL
server through socket ‘/var/run/mysqld/mysqld.sock’ (2) (Mysql::Error)

The database server is a remote server, and I can’t see why
activerecord is complaining about the absence of a local socket.

Probably because the app hasn’t been configured to look for that
remote server, so it’s defaulting to the local machine.

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs