Getting and Installing MySQL JDBC Drivers
About this task
Watson™ Explorer Engine does not ship with the JDBC drivers for MySQL because of possible license issues if they were delivered as part of the product. However, downloading the JAR file that contains the MySQL JDBC drivers and integrating that JAR file into your Watson Explorer Engine installation is quite easy to do:
Procedure
- Use a web browser to visit the MySQL download site and locate the source and binary download link for the archive format that you want to use (typically zip for Microsoft Windows systems or a gzipped tarball for Linux systems). Click that link to initiate the download process. Registration may be required.
- Use the appropriate unzip archive-file-name or tar zxf archive-file-name command to extract the contents of that archive, based on the type and name of the archive file that you download.
- Change directory into the directory that was extracted from the archive file, and copy the JAR file from this directory to the lib/java subdirectory of your Watson Explorer Engine installation directory.
Results
You should now be able to crawl an MySQL database once you have configured the keyed database seed, as discussed in Configuring Keyed Database Seeds.