Join the community today
Become a Member

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

    54,935
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:30 PM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    54,935
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:30 PM
    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

    54,935
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:30 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. rdan

    rdan Well-Known Member

    5,447
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    7:30 PM
    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