A MySQL Workspace connects to a MySQL database.
 MySQL mysql = new MySQL("world","localhost","5432","uzr","pass")
 | Modifiers | Name | Description | 
|---|---|---|
| static class | MySQL.Factory | The MySQL WorkspaceFactory | 
| Constructor and description | 
|---|
| MySQL
                                (java.lang.String name, java.lang.String host, java.lang.String port, java.lang.String user, java.lang.String password)Create a new MySQL Workspace with a name, host, port, user, and password | 
| MySQL
                                (java.util.Map options = [:], java.lang.String name)Create a new MySQL Workspace | 
| MySQL
                                (org.geotools.jdbc.JDBCDataStore ds)Create a new MySQL Workspace from a GeoTools JDBCDataStore | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | java.lang.String | getFormat()Get the format | 
| Methods inherited from class | Name | 
|---|---|
| class Database | createIndex, createIndex, createView, deleteIndex, deleteView, getDataSource, getIndexes, getSql, remove | 
| class Workspace | add, add, close, create, create, get, getAt, getFormat, getLayers, getNames, getParameters, getWorkspace, getWorkspace, getWorkspaceNames, getWorkspaceParameters, has, readFeatures, remove, remove, withWorkspace, withWorkspace, withWorkspace, wrap | 
| class java.lang.Object | java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
Create a new MySQL Workspace with a name, host, port, user, and password
name -  The name of the databasehost -  The host nameport -  The portuser -  The user namepassword -  The passwordCreate a new MySQL Workspace
options -  The options
 name -  The database or JNDI nameCreate a new MySQL Workspace from a GeoTools JDBCDataStore
ds -  The GeoTools JDBCDataStore