Skip to content
Snippets Groups Projects
Select Git revision
  • 923c342df14118717298d8f32606b9a0e48e3953
  • master default protected
  • update-renderer-class
3 results

cronlog-renderer.class.php

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 '.'