[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Storing variable database in SQL database


Quoting Tim Nelson (suppressed):
> Instead of storing variable.txt in a DBM file, is it possible to store 
> it in an DBI/SQL database?  This seems like a catch-22 since those 
> variables are not (or are they?) loaded while the catalog is being 
> configured and they are referenced later in my catalog.cfg.  I know I 
> have seen a post like this before, but my feeble search-challenged 
> fingers just can't find it. Thanks.

It's easy. Just make sure you do before "VariableDatabase variable":

 Database variable variable.txt dbi:mysql:database=foo;host=hostname;etc=etc

Nothing more to it, as long as you have a "variable" column and the key
column contains the variable name.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <suppressed>

For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled. -- Dick Feynman
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.