Here is a quick tutorial for gaining access to the blackduck MySQL relational database from Micro$oft Windows. This is done using a protocol known as ODBC. ODBC allows applications to access data sources that are registered with the operating system, so that the details of the connection are not required every session. Typically, you will want to access the database via queries from a spreadsheet (e.g. Corel Quattro Pro, Lotus 123, or if you must, Micro$oft Excel) or a statistics package (e.g. S-Plus, SAS, or SPSS).
The following steps will set your system up to be able to access the remote database at coopunit.forestry.uga.edu, and must only be performed once. I will assume that the candidate system is running either Windows 95/98/ME or Windows NT/2000.
Check the "Open file from its current location" option, and run the installer for MyODBC. This will entail a few steps on which I will not elaborate, but you can simply choose all of the default settings; essentially click through the whole process. Depending on your machine, you may be asked to restart your computer. If so, see you in a few minutes!


This will give you READ access to the database. You won't be able to change any of the tables, or add data, but you will be able to query to your heart's content.

After starting SAS, double click on the Libraries icon in the explorer window. Here, you will see the active libraries on your SAS system. Right click in this window and choose new.
This will bring up a new library dialog, as shown below. You can call the library anything you want, as long as it is 6 characters or less in length (blackduck> will not work here). Next, from the engine pulldown menu, select ODBC. This will change the rest of the dialog, so that you can specify the source
There should now be another pulldown menu associated with the Data source entry, and you should be able to find the blackduck database listed here. Select it, and provide the same username and password information as before. You might also want to check the Enable at startup option in the upper right-hand corner, so that you do not have to re-configure this every time. Click OK to finish the configuration. There should now be an icon in the libraries window for the blackduck database. You are in business!
From the Insert menu, select External data, and then Expert... from the following menu.
This brings up the Select Database dialog. From the Data type pulldown menu, select ODBC. This will display the list of available ODBC data sources, one of which should be the blackduck MySQL database. Select this, then click on Next.
You should now be presented with the full list of tables from the database, from which you can query directly into the spreadsheet. This procedure is pretty transparent, but you can consult the Quattro Pro help system for any further information.
This page last updated on 25 April, 2001.
Send e-mail to the webmaster