Project

General

Profile

Help installing on a shared server

Added by Luke Wyatt about 12 years ago

I am installing Redmine on a shared server and I am stuck at RAILS_ENC=production rake db:migrate.

I get the message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)

production:
adapter: mysql
socket: /tmp/mysql5.sock
database: db
host: localhost
username: dbu
password: password
encoding: utf8

Any clue as to why it is trying to connect through /var/run/mysqld/mysqld.sock when the production socket is specified towards /tmp/mysql5.sock? I included the trace as an attachment

Trace.txt (16.1 KB) Trace.txt