From: Rafael Kitover Date: Sat, 9 May 2009 13:46:55 +0000 (+0000) Subject: added postgres default port stuff to FAQ X-Git-Tag: v0.08103~108 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=acdda5b21197d6fd849ef15e544b5fbae283649a;p=dbsrgits%2FDBIx-Class.git added postgres default port stuff to FAQ --- diff --git a/lib/DBIx/Class/Manual/FAQ.pod b/lib/DBIx/Class/Manual/FAQ.pod index 7d4505e..9bdfdd4 100644 --- a/lib/DBIx/Class/Manual/FAQ.pod +++ b/lib/DBIx/Class/Manual/FAQ.pod @@ -552,3 +552,23 @@ group, or stringify_self method) ? See L =back + +=head2 Troubleshooting + +=over 4 + +=item Help, I can't connect to postgresql! + +If you get an error such as: + + DBI connect('dbname=dbic','user',...) failed: could not connect to server: + No such file or directory Is the server running locally and accepting + connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? + +Likely you have/had two copies of postgresql installed simultaneously, the +second one will use a default port of 5433, while L is compiled with a +default port of 5432. + +You can chance the port setting in C. + +=back