next up previous external
Next: Frequently Asked Questions Up: WDB Installation and Users Previous: WDB Oracle Interface

WDB mSQL Interface

The msql_dbi.pl or msql2_dbi.pl file make it possible to use WDB to interface to mSQL. WDB supports both versions of mSQL, 1.0.x and 2.0.x. The msql_dbi.pl file is used with mSQL 1.0.x, and the msql2_dbi.pl file is used with mSQL 2.0.x.

mSQL ( mini SQL ) is a free database system written by David J. Hughes (Bambi@Bond.edu.au). It is a lightweight database engine designed to provide fast access to stored data with low memory requirements. As its name implies mSQL offers a subset of SQL as its query interface.

mSQL has been developed under Sun OS 4.1.1 but has been tested under Solaris 2.3, Ultrix 4.3, Linux, FreeBSD 2, and OSF/1 (cc not gcc). That said, it should "autoconf" and build on most BSD derived systems, SVR4 based systems or POSIX O/S's (that should cover most of them). It has been reported that it works out-of-the-box on HP-UX, NeXT, SCO, Sequent, Cray, Tandem and a few others.

mSQL is available from http://Hughes.com.au/product/msql/.

Requirements

You need Perl version 5.004 or later. Both the DBD::mSQL and MsqlPerl extensions are combined into the msql-modules package from Andreas Koenig. You will need to use the DBD extension.

You can find information about Perl at: http://www.pascal.org/Family/Freeman/CPAN.html.

You can find out more about DBI and the DBD modules at: http://www.hermetica.com/technologia/perl/DBI/index.html.

Configuration

Follow the normal WDB configuration instructions, with the following exceptions :

Creating FDF's

Included is also an mSQL version of mkfdf, called msqlfdf or msql2fdf, which will produce a working template FDF file given a database and table name. Use the program appropriate for your version of mSQL.


next up previous external
Next: Frequently Asked Questions Up: WDB Installation and Users Previous: WDB Oracle Interface

Copyright © 1996 Bo Frese Rasmussen and Jeff Rowe