Join the community today
Register Now

MariaDB Replace MariaDB with MariaDB Galera?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Feb 13, 2015.

  1. pamamolf

    pamamolf Well-Known Member

    2,824
    253
    83
    May 31, 2014
    Ratings:
    +448
    Local Time:
    1:07 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    Is there any easy way to replace MariaDB with MariaDB Galera on Centminmod existing setup or for new installations?

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,420
    Local Time:
    9:07 PM
    Nginx 1.13.x
    MariaDB 5.5
  3. pamamolf

    pamamolf Well-Known Member

    2,824
    253
    83
    May 31, 2014
    Ratings:
    +448
    Local Time:
    1:07 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok thanks George but how can i disable the existing running MariaDB before install the Galera?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,420
    Local Time:
    9:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    re-read the linked article I posted, it lists what you need to do ;)
     
  5. pamamolf

    pamamolf Well-Known Member

    2,824
    253
    83
    May 31, 2014
    Ratings:
    +448
    Local Time:
    1:07 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok got it thanks :)
     
    Last edited: Feb 13, 2015
  6. pamamolf

    pamamolf Well-Known Member

    2,824
    253
    83
    May 31, 2014
    Ratings:
    +448
    Local Time:
    1:07 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Can i disable installation of MariaDB on new installs by editing centmin.sh?

    Which line i must edit?
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,961
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,420
    Local Time:
    9:07 PM
    Nginx 1.13.x
    MariaDB 5.5
    Technically you should be able to by editing prior to initial install, the centmin.sh defined variable MDB_YUMREPOINSTALL=y to MDB_YUMREPOINSTALL=n which is line 278 of centmin.sh in .08 beta version which controls MariaDB install at approximately line 470-483 of inc/mariadb_install.inc. However, I have not tested such in the past few Centmin Mod versions as MariaDB is important part of the stack and I recommend not to disable it's installation as other routines and install software that has built up around the last few Centmin Mod version rely each other (MariaDB install).