Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124616

QSqlDatabase.open() error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 6.7.1
    • 6.7.0
    • SQL Support
    • None
    • MacOS 14.1
    • macOS

    Description

      When I define a QSqlDatabase to support ODBC I cannot open the Database because the string get's an additional '\"'

       

      I included the Source of the little test and expected that the DB was opened correctly. But instead I get the following error:

       

      "[MySQL][ODBC 8.3(w) Driver]Unknown MySQL server host 'localhost\"' (8), S1000"
      DB is not open
       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              chehrlic Christian Ehrlicher
              willi2793 Thomas Wilhelmi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes