Continuent.org logo

Continuent.org :: Myosotis

Database Clustering Technology

Welcome to the Myosotis Project!


Myosotis allows MySQL and PostgreSQL clients to connect directly to the Sequoia cluster. From the client application point of view Myosotis acts as a MySQL or a PostgreSQL server.

Continuent uc/connector product is based on the Open Source Myosotis product.

Downloads

The binaries can be downloaded form the Forge

Source code

Myosotis is licensed under GPL v2. The source code is maintained in a Subversion repository. It can be checked out using the following command:
svn checkout svn://forge.continuent.org/myosotis/trunk myosotis

Or for developers:
svn checkout svn+ssh://user@forge.continuent.org/svnroot/myosotis/trunk myosotis

The nightly SVN tree snapshot can be downloaded from the Forge

Bug reports

View and report bugs in the JIRA

Mailing list

Subscribe, unsubscribe to the mailing list can be done here.

Getting started

After untaring, the conf/user.map and the conf/myosotis.properties file need to be edited. Starting Myosotis can be done with the following command:
$ ./myosotis

The default listening port is 9999. Check the connectivity with:
$ mysql -uuser -ppass -h127.0.0.1 -P9999 DB

for MySQL or
$ psql -Uuser -h127.0.0.1 -p9999 DB

for PostgreSQL.
At startup multiple configuration file can be specified. Myosotis for every configuration will start a server. This way the same Myosotis process can act on port 9999 as a MySQL server and on port 8888 as a PostgreSQL server.

Curiosity of the design

As the code is written in Java, JDBC is needed to make the connection to the backend. This can be specified in the configuration file. This implies that Myosotis is acting as a MySQL or PostgreSQL server from the client point of view but the backend can be any database server. And here comes the beauty of the design, without rewritting the client applications the data can be stored in a clustered database through Sequoia, or in an Oracle database through the Oracle JDBC driver. The possibilities are unlimited.
Page was generated in 0.0535 seconds