Welcome to Centmin Mod Community
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

    43,079
    9,781
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,100
    Local Time:
    9:25 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  2. rdan

    rdan Well-Known Member

    4,856
    1,160
    113
    May 25, 2014
    Ratings:
    +1,740
    Local Time:
    7:25 AM
    Mainline
    10.2
  3. eva2000

    eva2000 Administrator Staff Member

    43,079
    9,781
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,100
    Local Time:
    9:25 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    4,856
    1,160
    113
    May 25, 2014
    Ratings:
    +1,740
    Local Time:
    7:25 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

    43,079
    9,781
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,100
    Local Time:
    9:25 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  6. rdan

    rdan Well-Known Member

    4,856
    1,160
    113
    May 25, 2014
    Ratings:
    +1,740
    Local Time:
    7:25 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
     
    • Like Like x 2