[ 
https://issues.apache.org/jira/browse/DDLUTILS-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alison updated DDLUTILS-203:
----------------------------

    Attachment: DDLUTILS-203.patch

Sample implementation of CREATE DATABASE and DROP DATABASE for MySQL 5.0.2+.

> MySQL5 can support create/drop database
> ---------------------------------------
>
>                 Key: DDLUTILS-203
>                 URL: https://issues.apache.org/jira/browse/DDLUTILS-203
>             Project: DdlUtils
>          Issue Type: Improvement
>          Components: Core - MySql
>    Affects Versions: 1.0
>         Environment: Ubuntu 7.10, java 1.6.0_05, ant 1.7.0, mysql-server 
> (community edition) 5.0.45-Debian_1ubuntu3.3-log
>            Reporter: Alison
>            Assignee: Thomas Dudziak
>            Priority: Minor
>         Attachments: DDLUTILS-203.patch
>
>
> MySQL appears to support CREATE DATABASE and DROP DATABASE statements via 
> JDBC.
> As of MySQL 5.0.2 the 'information_tables' database is supported which can be 
> used as the base database from which to run the relevant CREATE or DROP SQL.
> Please see attached patch (which very closely resembles the 
> PostgreSqlPlatform implementation).  Note that the database name is escaped 
> with back ticks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to