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

proxysql-admin ignores without-check-monitor-user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.10
    • Component/s: None
    • Labels:
      None

      Description

      The help/usage clearly states: "Configure ProxySQL without checking/attempting to create monitor user"

      Yet, as demonstrated below, the user is still attempted to be created.

       

      [root@app ~]# proxysql-admin --proxysql-datadir=/var/lib/proxysql --proxysql-username=admin --proxysql-password=admin --proxysql-port=6032 --proxysql-hostname=localhost --without-cluster-app-user --monitor-username=monitor --monitor-password="monit0R#" --without-check-monitor-user --mode=singlewrite --write-node=192.168.70.10 --cluster-username=sbuser --cluster-hostname=192.168.70.20 --cluster-password="sbPass1234#" --without-check-monitor-user -e
      
      This script will assist with configuring ProxySQL (currently only Percona XtraDB cluster in combination with ProxySQL is supported)
      
      ProxySQL read/write configuration mode is singlewrite
      
      Configuring ProxySQL monitoring user..
      ProxySQL monitor username as per command line/config-file is monitor
      
      ERROR: Failed to create the ProxySQL monitoring user. Please check 'sbuser'@'192.168.70.20' has proper permission to create montioring user. Terminating!
      [root@app ~]#
      [root@app ~]# proxysql-admin --help | grep without-check
      --without-check-monitor-user Configure ProxySQL without checking/attempting to create monitor user
      

       

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                kenn.takara Kenn Takara
                Reporter:
                matthew.boehm@percona.com Matthew Boehm
              • 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 - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d