Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-274

Can't connect to MySQL 5.1.73 using a password

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.1
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Windows 10, connecting to MySQL server 5.1.73

      Description

      Attempting to connect to the JDBC driver using the following syntax:
      org.mariadb.jdbc.Driver.connect(connString, props)
      where connString is a simple jdbc string (e.g. "jdbc:mysql://MyServer:3306/myDb") and props is a java.util.Properties containing the user name ("user" = "root") and password ("password" = MyPassword).

      Returns an error about unable to connect, stating that USE PASSWORD = NO, which seems incorrect given my specification of a password.

      Supplying the user name and password directly in the connection string ("...?user=root&password=MyPassword") gives the same behavior

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            MattRensing Matthew J Rensing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.