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

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.1, 2.3.2
    • 3.0.2
    • None
    • None
    • 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

              georg Georg Richter
              sebflaesch FLAESCH Sebastien
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.