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

Inconsistent date format in ProxySQL and scripts

    XMLWordPrintable

    Details

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

      Description

      ProxySQL uses different date format than scripts (galera_checker, node monitor)

       

      2018-03-18 02:03:21 [INFO] New mysql_replication_hostgroups table
      Sun Mar 18 02:03:21 EDT 2018 ###### TRYING TO FIX MISSING WRITERS ######
      2018-03-18 02:03:21 [INFO] Received LOAD MYSQL SERVERS TO RUNTIME command

       

      The fix here is to use  

      date +%Y-%m-%d\ %H:%M:%S

      instead of

      date

      in scripts.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                ramesh.sivaraman Ramesh Sivaraman
                Reporter:
                iwo.panowicz Iwo Panowicz
              • 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 hour
                  1h