Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36812

Implement MYSQL_OPT_BIND

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • None
    • Scripts & Clients
    • None
    • Q2/2025 Development, Q3/2025 Server Development

    Description

      MYSQL_OPT_BIND determines which of the slave's network interfaces is chosen for connecting to the master.
      It is required to back --bind-address (MDEV-21465) and CHANGE MASTER [...] TO MASTER_BIND=... (MDEV-19248).

      From MDEV-19248 comment:

      • mysql_options() of sql-common/client.c does not recognize MYSQL_OPT_BIND.
      • include/mysql.h's struct st_mysql_options has client_ip where libmariadb/include/mysql.h's version has bind_address.
      • Although it recognizes MYSQL_SET_CLIENT_IP, it's not actually used for anything.

      Attachments

        Issue Links

          Activity

            People

              ParadoxV5 Jimmy Hú
              ParadoxV5 Jimmy Hú
              Sergei Golubchik Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.