[ 
http://jira.codehaus.org/browse/MSQL-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Tran closed MSQL-29.
------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

patch applied using "enableAnonymousPassword" instead.  New 1.4-SNAPSHOT 
deployed. Thanks

Revision: 8128
Author: dantran
Date: 2:07:10 PM, Friday, November 21, 2008
Message:
MSQL-29: Add enableAnonymousPassword. Special case for MSQL
----
Modified : 
/trunk/mojo/sql-maven-plugin/src/main/java/org/codehaus/mojo/sql/SqlExecMojo.java



> Allow anonymous access (connecting to database without password)
> ----------------------------------------------------------------
>
>                 Key: MSQL-29
>                 URL: http://jira.codehaus.org/browse/MSQL-29
>             Project: Maven 2.x SQL Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.3
>         Environment: linux-2.6.27.5-117.fc10.x86_64, MySQL-5.0.67
>            Reporter: Mark Struberg
>            Assignee: Dan Tran
>             Fix For: 1.4
>
>         Attachments: sql-anonymous.patch
>
>
> Some databases do not allow connecting the database with password="".
> E.g. MySQL fails if it gets an empty password property in the connection 
> initialisation sequence:
> {noformat}
> Access denied for user 'root'@'localhost' (using password: YES)
> {noformat}
> So we may provide an option "anonymous" which simply skips adding the 
> password property when connecting.
> (And please argue with me that one should _never_ use a database without a 
> password! Really, *I* see this exactly as you do and explained the reasons 
> until I got blue in my face, but finally I capitulated)
> The attached patch adds the 'anonymous' option handling. 
> It has been tested on 2 other setups (F9, Ubuntu) also.
> txs and LieGrue,
> strub

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to