Project

General

Profile

Installation: No connection to a MySQL db at host: 127.0.0.1:3307 (V0.7.3)

Added by Knut H. over 15 years ago

Hi at all,

I have a problem during a simple installation V0.7.3) on a Linux/Apache webspace.
The MySql db (V5.x) host named 127.0.0.1:3307 isn´t detected.

The System reported to me

> rake db:migrate RAILS_ENV="production" 
- in /home/www/cgi-bin -
rake aborted!
Unknown MySQL server host '127.0.0.1:3307' (3)

I think the routine cannot handle [Ip : Port]

Is this right?

Thanks Knut


Replies (2)

RE: Installation: No connection to a MySQL db at host: 127.0.0.1:3307 (V0.7.3) - Added by Thomas Löber over 15 years ago

In your database.yml you can say:

host: 127.0.0.1
port: 3307

RE: Installation: No connection to a MySQL db at host: 127.0.0.1:3307 (V0.7.3) - Added by Knut H. over 15 years ago

Oh yes, you are right .....

In german we say "Brett vorm Kopf" (mental block).

It works like a charm.

Knut

    (1-2/2)