Discover Centmin Mod today
Register Now

Beta Branch update inc/mariadb_upgrade101.inc

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 21, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    59,864
    12,544
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,189
    Local Time:
    6:33 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  2. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    4:33 AM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    59,864
    12,544
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,189
    Local Time:
    6:33 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    they get dynamically updated at 10.1.8 upgrade time only as they may apply to mariadb 5.5 or 10.0.x depending on which version the user is running
     
  4. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    4:33 AM
    Mainline
    10.2
    Ow I have that config variables running on 10.1.8 without any problem.
    I should comment it out?
     
  5. eva2000

    eva2000 Administrator Staff Member

    59,864
    12,544
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,189
    Local Time:
    6:33 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  6. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    4:33 AM
    Mainline
    10.2
    Thanks!
    Code:
    sed -i 's|ignore-db-dir|ignore_db_dirs|g' /etc/my.cnf
    sed -i 's|^innodb_thread_concurrency|#innodb_thread_concurrency|g' /etc/my.cnf
    sed -i 's|^skip-federated|#skip-federated|g' /etc/my.cnf
    sed -i 's|^skip-pbxt|#skip-pbxt|g' /etc/my.cnf
    sed -i 's|^skip-pbxt_statistics|#skip-pbxt_statistics|g' /etc/my.cnf
    sed -i 's|^skip-archive|#skip-archive|g' /etc/my.cnf
    systemctl restart mariadb.service