MiniVend Akopia Services

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

Re: Question about the 'Database' config parameter & SQL



******    message to minivend-users from Mark Stosberg <mark@summersault.com>     ******


Here's the lines that worked for me, using Postgres:

Database            products     products.asc      SQL
Database            products DSN  dbi:Pg:dbname=your_db_name
host=your.host.com port=5432

of course, your port varies, and the table doesn't have to be named
products, nor do you necessarily have to have the first line, which
imports the SQL database from products.asc initially, I think.

 -mark 

Nicholas Albright wrote:
> 
> ******    message to minivend-users from Nicholas Albright <albrnick@bobcat.ent.ohiou.edu>     ******
> 
>   When I'm using an SQL database, what does the 2nd argument to the
> Database directive mean.  Example:
> 
> Database        test    ca2g_test       dbi:mSQL:database
> 
>   Is the arg 'ca2g_test' used for anything?  Such as the table name?  If
> not, how can you specify the table name?  Or does the minivend name of the
> table have to be the name of the table in the SQL database?
> 
>   Thanks for your time,
>    -Nick
> 
> --
> 
> "I used to be completely clueless, but since then I've done a complete 360."
>                 -- Biomenace (From his .sig on ag.vga-planets)
> 
> -
> 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

-- 
http://flip.summersault.com/
-
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: