Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1112

Unable to use DB without username and password

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1-alpha-1
    • None
    • Database
    • None
    • mysql jdbc driver 5.0.3, mysql server 5.0.24

    Description

      Changed plexus.conf database definition to use mysql db that anyone can access (no user / no password) and got an error because it's trying to use a null username.

      java.sql.SQLException: Access denied for user 'null'@'localhost' (using password: YES)

      <resource>
      <name>jdbc/continuum</name>
      <type>javax.sql.DataSource</type>
      <properties>
      <property>
      <name>driverClassName</name>
      <value>com.mysql.jdbc.Driver</value>
      </property>
      <property>
      <name>url</name>
      <value>jdbc:mysql://localhost/test</value>
      </property>
      <property>
      <name>username</name>
      <value></value>
      </property>
      <property>
      <name>password</name>
      <value/>
      </property>
      </properties>
      </resource>

      Attachments

        1. log.txt
          47 kB
          Carlos Sanchez Gonzalez

        Issue Links

          Activity

            People

              evenisse Emmanuel Venisse
              carlos Carlos Sanchez Gonzalez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: