MiniVend Akopia Services

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

Re: other question.. sql minivend..



******    message to minivend-users from Dan Busarow <dan@dpcsys.com>     ******

On Thu, 20 May 1999, G. Tyler Koblasa wrote:
> here is what I have for my database section of the catalog.cfg
> 
> --
> 
> ########### Database
> ##
> ## Default: products products.asc 1
> #
> # Definition of an arbitrary database, in the form
> # "Database database file type", where "file" is the name of an
> # ASCII file in the same format as the products database.  The
> # file is relative to VendRoot, and is put in DataDir if no
> # path is provided.  Records can be accessed with the
> # [data database field key] tag.
> #
> 
> Database            products     products.asc      TAB
> Database            products     INDEX             category

Here you are telling minivend to use the products.asc text file

> Database            pricing      pricing.asc       TAB
> Database            transactions transactions.txt  TAB
> Database            userdb       userdb.asc        TAB
> Database            country      country.asc       TAB
> Database            locale       locale.asc        TAB
> Database            Ground       Ground.csv        CSV
> Database            2ndDayAir    2ndDayAir.csv     CSV
> Database            NextDayAir   NextDayAir.csv    CSV
> 
> Database            products products.asc dbi:mysql:minivend:localhost:3333

Here you tell it to use mysql

> Database            products DELIMITER    TAB

And here you tell it that the products db is a tab delimited file
which would seem to tip the weight of decision making to products.asc

Delete the lines suggesting products.asc to be the correct choice.

> Database            products LongReadLen  128
> #-- is this needed ? (above)

That's for Oracle, I believe.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

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