Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-251

client section on ~/.my.cnf is not read by mysql_options()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1, 2.3.2
    • Fix Version/s: 3.0.2
    • Labels:
      None
    • Environment:
      Linux Debian 8.6

      Description

      It seems that the ~/.my.cnf file is not loaded when using for ex:

      mysql_options(cn->dbcHandle, MYSQL_READ_DEFAULT_GROUP, "client")
      

      My ~/.my.cnf file contains:

      [client]
      default-character-set="utf8"
      

      This code works find with Oracle MySQL client 5.7 ...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              georg Georg Richter
              Reporter:
              sebflaesch FLAESCH Sebastien
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: