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

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1
    • Other
    • None
    • 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

            diego dupin Diego Dupin
            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.