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

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2.1
    • 2.3.0
    • Frontend (F)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: