[Bast-commits] r6194 - DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Sat May 9 13:46:55 GMT 2009


Author: caelum
Date: 2009-05-09 13:46:55 +0000 (Sat, 09 May 2009)
New Revision: 6194

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/FAQ.pod
Log:
added postgres default port stuff to FAQ

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/FAQ.pod
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/FAQ.pod	2009-05-09 12:21:44 UTC (rev 6193)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/FAQ.pod	2009-05-09 13:46:55 UTC (rev 6194)
@@ -552,3 +552,23 @@
 See L<DBIx::Class::Manual::Cookbook/Stringification>
 
 =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<DBD::Pg> is compiled with a
+default port of 5432.
+
+You can chance the port setting in C<postgresql.conf>.
+
+=back




More information about the Bast-commits mailing list