MySQL Configuration Guide for Mac OS X |
 |
| The Worklight Platform requires a connection to a database engine with JDBC support. |
 |
| Our recommendation to developers is that they download and install MySQL and its official JDBC driver Connector/J. |
 |
| Both files can be downloaded from the mysql.com website. to expedite the process, we provide the following tips. |
 |
| In order to download MySQL and its JDBC driver, please follow these steps: |
 |
| 1. |
MySQL |
| |
| • |
Download the MySQL database installation from http://www.mysql.com/downloads/mysql/. |
| • |
Install the database on your computer, Run the installer and follow the instructions. |
|
The installation package for the Mac OS X bundles several files (we recommend installing them): |
| |
| - |
A MySQL installation |
| - |
A MySQL.prefPane installation - adding a System Preferences entry under Other >> MySQL that allows to enable/disable |
| |
MySQL and also start it on Startup. |
.png) |
|
|
 |
|
| 2. |
MySQL JDBC Driver Connector/J |
| |
| The Worklight Server accesses the MySQL database via a JDBC driver. The JDBC driver for MySQL is not shipped with the database, but should rather be downloaded separately. |
| • |
Download the MySQL JDBC driver Connector/J from http://dev.mysql.com/downloads/connector/j/5.1.html. |
| • |
Unzip the package and place its contents (a single .jar file) in a folder of your choice. |
| • |
When installing the WorkLight Platform, enter the path to this jar file in the “JDBC Connector File” field as depicted below. |
| |
| |
.png) |
|
|
| |
| |
This page will guide you through the process of installing the WorkLight development environment. The WorkLight development consists of the WorkLight Server and the Eclipse-based WorkLight Studio. The WorkLight Server requires a database for operating, and supports MySQL 5 and Oracle 10g. For development purposes, you must use the MySQL 5 database.