Akopia Akopia Services

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

RE: [mv] DB catalog.cfg



******    message to minivend-users from "Webb, Malcolm" <malcolmw@upshot.com>     ******

Hi Eduardo-

I had the same question last weekend...

I was having problems because I was trying to use MySQL syntax in my DB
connect string (Postgres is slightly different)

Connect string should be:
dbi:Pg:dbname=<your database name>

also, I didn't realize at first that you need to set BOTH "SOMESQL" and
"PGSQL" variables to 1 in your catalog.cfg (guess I shouldn't have just done
a "/" for "PGSQL"...hehehe)

Variable settings should be:

Variable     SOMESQL     1
Variable     MYSQL     
Variable     PGSQL       1

Once I made these changes, it worked like a charm.

P.S. - It goes without saying that you must have the Postgres DBD installed
and working for these settings to work. One thing that I found out is that
it is not enough to just install the "postgres-perl-xx.xx-xx.xx.rpm" - that
only installs Postgres's native perl drivers.  To get the DBD for Postgres
(DBD:Pg), you need to go to CPAN.

===========================================
Malcolm Webb
Product Manager
UpShot.com

email: malcolmw@upshot.com
web: http://www.upshot.com
===========================================



-----Original Message-----
From: Eduardo Marquez [mailto:emarquez@wmega.es]
Sent: Tuesday, July 11, 2000 7:28 AM
To: minivend-users@minivend.com
Subject: [mv] DB catalog.cfg


******    message to minivend-users from Eduardo Marquez <emarquez@wmega.es>
******

Hi all ...

I'm trying to configure a catalog for use a PostgresSql Database , but
i'm not able to do it.

Could anyone send me a catalog.cfg file as an example on how to do it?

Thanks in advance

--

Eduardo Márquez Martínez
Director Técnico
Equipo Consultor Informatico W-Mega S.A
http://www.wmega.es


-
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
-
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: