Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch update inc/shortcuts_install.inc for 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 11, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    44,731
    10,197
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,805
    Local Time:
    12:17 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  2. eva2000

    eva2000 Administrator Staff Member

    44,731
    10,197
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,805
    Local Time:
    12:17 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    existing CentOS 7 only users can update their mysql command shortcuts manually via these 4 commands
    Code (Text):
    echo "systemctl daemon-reload; service mysql stop" >/usr/bin/mysqlstop ; chmod 700 /usr/bin/mysqlstop
    echo "systemctl daemon-reload; service mysql start" >/usr/bin/mysqlstart ; chmod 700 /usr/bin/mysqlstart
    echo "systemctl daemon-reload; service mysql restart" >/usr/bin/mysqlrestart ; chmod 700 /usr/bin/mysqlrestart
    echo "systemctl daemon-reload; service mysql reload" >/usr/bin/mysqlreload ; chmod 700 /usr/bin/mysqlreload
    
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,826
    370
    83
    May 31, 2014
    Ratings:
    +712
    Local Time:
    5:17 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    It seems that the shortcuts help with the :

    Code:
    systemctl daemon-reload
    mysqlrestart
    after upgrading MariaDB......

    I had to run both commands always on Centos 7 but not anymore :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    44,731
    10,197
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,805
    Local Time:
    12:17 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yup thought i'd fix that for good on CentOS 7 :)