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

detect-mysql

Blame
  • detect-mysql 569 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 14.14 Distrib 5.5.62, for debian-linux-gnu (x86_64) using readline 6.3
    
    mysql --version | awk '{ print $5 }' | cut -f 1,2 -d '.'