Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2298

Incorrect JDBC URL when using MySQL 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 8.2, 9.0, 10.0, 11.0
    • 11.2
    • None
    • Observed on Windows and Mac.

    Description

      More an annoyance than a real bug. Currently the JDBC URL appears as:

      jdbc:mysql://localhost:3306/mysql?zeroDateTimeBehavior=convertToNull

      However, if using MySQL 8 with its matching driver it must be:

      jdbc:mysql://localhost:3306/mysql?zeroDateTimeBehavior=CONVERT_TO_NULL

      Attachments

        Issue Links

          Activity

            People

              johnmcdonnell John McDonnell
              omniprof Kenneth Fogel
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: