Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7749

Default Authentication type is not changed permanently

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.3.0
    • Component/s: Frontend (F)
    • Environment:
      MySQL Community Edition 5.6.15 64bit, PHP 5.5.1

      Description

      Changing default authentication type is not preserved across sessions when MySQL server is configured with autocommit off (config options: autocommit=0, init_connect='SET autocommit=0').
      I know is not a usual configuration, but the code should control autocommit and not rely on defaults.
      It works if you add 'DBexecute('SET autocommit = 1');' to include/db.inc.php in function DBconnect (for MySQL type) but i don't know the implications further down the line (eg. if $DB['TRANSACTIONS'] = 1, for other DB types like DB2 autocommit is set to on)

        Attachments

          Activity

            People

            Assignee:
            iivs Ivo Kurzemnieks
            Reporter:
            little_martian Little Martian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: