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

QSqlDatabase.open() error

XMLWordPrintable

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

      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
       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes