Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] "No default search file" when using PostgreSQL



******    message to minivend-users from Chris Wenham <cwenham@netmonger.net>     ******

Mark Stosberg writes:
 > ******    message to minivend-users from Mark Stosberg <mark@summersault.com>     ******
 > 
 > 
 > Chris,
 > 
 >   Consider posting the relevent parts of your catalog.cfg file. The
 > ProductFiles Directive refers to using multiple tables for your
 > products. If you are just using one table for your products, perhaps you
 > can remove the "ProductsFiles" directive. If you  _are_ using multiple
 > products databases, it looks like it's asking to specify the default
 > table somehow (which I'm not sure how to do). I use Minivend with
 > Postgres on FreeBSD, but I haven't installed the default Postgres simple
 > store before.
 > 
 >   -mark

 Mark,

 I installed the "simple" catalog and entered "1" when it asked me if
I wanted to use Postgres. The catalog.cfg hasn't been changed from its
default after installation, but the PGSQL part looks like this:

#ifdef PGSQL

Variable  SQLDSN   dbi:Pg:dbname=test_minivend
Message <<EOF

Using PostgreSQL for databases, DSN=__SQLDSN__.
EOF

# Uncomment if needed
#Variable  SQLPASS  foo
#Variable  SQLUSER  bar

# The tables are in separate files in the mysql directory

#include pgsql/*

#endif

Regards,

Chris Wenham
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: