The workspace.mysql module a workspace implementation based on the contents of a MySQL database.
- class geoscript.workspace.mysql.MySQL¶
A subclass of Workspace for a MySQL database. Layers of the workspace correspond to tables in the database.
db is the name of the database.
host is the optional host name. Defaults to ‘localhost’.
port is the optional port the database is listening on as an int. Defaults to 3306.
user is the optional username to connect as. Defaults to the current user.
passwd is the optional password to connect with.