Database Setup
This section describes how to setup the JavaDB and Mysql Database
in the DataPlugInForEclipseTrader
This section uses the following elements:
- JavaDB Setup
- Mysql Setup
- JavaDB vs Mysql
1. JavaDB Setup
If you enable the database cache function, the default database cache
would be JavaDB. You can also select the JavaDB from the
DB Type
options in the preferences page. JavaDB is already integrated with this
plugin, so if you choose to use JavaDB, you do not need to configure or
setup anything actually. Refer to the picture below. The default
parameters are recommended, for the detailed description of the
parameters, please refer to
Cache
Usage Page
.

2. Mysql Setup
If you have your own Mysql database available, you can select the Mysql
from the
DB Type
options in the preferences page, and you need to type your Mysql
connecting parameters like the picture below, then you can make
DataPlugInForEclipseTrader to connect your specific Mysql database as
the database cache. For the detailed description of the parameters,
please refer to
Cache
Usage Page
.

3. JavaDB vs Mysql
DataPlugInForEclipseTrader integrates the JavaDB, so if you
select the javaDB as your database cache, you do not need to setup or
configure anything actually.
JavaDB can only run inside the DataPlugInForEclipseTrader as an
embed database, there could not be any other program to connect JavaDB
except the DataPlugInForEclipseTrader, so you can not share the data
with other program.
You can provide your own Mysql instance, configure the
connecting parameters in DataPlugInForEclipseTrader, so your Mysql could
be used as a database cache, all the cache information is outside
DataPlugInForEclipseTrader, it's in your own database. You can deal with
it to meet any other data processing requirement.