Uploaded image for project: 'ProxySQL Admin Scripts'
  1. ProxySQL Admin Scripts
  2. PSQLADM-110

Pattern cluster hostname does not work with proxysql-admin script.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Pending Release
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.12
    • Component/s: None
    • Labels:
      None

      Description

      Pattern cluster hostname does not work with proxysql-admin script.

      ramesh@qaserver-06:/qa/proxysql$ proxysql-admin --config-file=$WORKDIR/proxysql_6032/proxysql-admin.cnf -e
      This script will assist with configuring ProxySQL for use with
      Percona XtraDB Cluster (currently only PXC in combination
      with ProxySQL is supported)
      ProxySQL read/write configuration mode is singlewrite
      /usr/bin/proxysql-admin: line 328: printf: `\': invalid format character
      ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (111)
      ERROR (line:530) : PXC connection check failed.
      – Could not connect to the PXC cluster at %:24100
      – Please check the PXC connection parameters and status.
      ramesh@qaserver-06:/qa/proxysql$
      
      ramesh@qaserver-06:/qa/proxysql$ grep CLUSTER_HOSTNAME $WORKDIR/proxysql_6032/proxysql-admin.cnf
      export CLUSTER_HOSTNAME='%'
      ramesh@qaserver-06:/qa/proxysql$
       

        Attachments

          Activity

            People

            • Assignee:
              kenn.takara Kenn Takara
              Reporter:
              ramesh.sivaraman Ramesh Sivaraman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 7 hours
                7h