Discover Centmin Mod 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 Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    12:32 AM
    Nginx-1.25.x
    MariaDB 10.3.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

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:32 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    12:32 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok thanks George but how can i disable the existing running MariaDB before install the Galera?
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:32 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    re-read the linked article I posted, it lists what you need to do ;)
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    12:32 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok got it thanks :)
     
    Last edited: Feb 13, 2015
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,069
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    12:32 AM
    Nginx-1.25.x
    MariaDB 10.3.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

    53,529
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    7:32 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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).