Skip to content
Snippets Groups Projects
Select Git revision
  • cf3c8d29d1cd93c34571a8555c1a75216aa7c1b6
  • master default protected
  • simple-task/7248-eol-check-add-node-22
  • 6877_check_iml_deployment
4 results

check_backup_one

Blame
  • detect-mariadb 581 B
    # ----------------------------------------------------------------------------
    # 
    # EOL - End of life detection - Warn before reaching end of life
    #
    # detect version of MARIADB
    #
    # ----------------------------------------------------------------------------
    # 2020-02-25  v1.0  <axel.hahn@iml.unibe.ch>
    # ----------------------------------------------------------------------------
    
    # ----- example output
    #   mysql --version
    #   mysql  Ver 15.1 Distrib 5.5.64-MariaDB, for Linux (x86_64) using readline 5.1
    
    mysql --version | grep MariaDB | awk '{ print $5 }' | cut -f 1,2 -d '.'