Learn about Centmin Mod LEMP Stack today
Become a Member

MariaDB ignore-db-dir vs ignore_db_dir

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Sunka, Jan 22, 2017.

  1. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    5:42 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7.3 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.11.8
    • PHP Version Installed: 7.1.1
    • MariaDB MySQL Version Installed: 10.1.2
    • When was last time updated Centmin Mod code base ? : today

    just a quick question regarding my.cnf file.
    Older version have ignore_db_dirs=lost+found, newer have ignore-db-dirs=lost+found
    Is it irelevant (both are good) or one is deprecated or going to be deprecated?
     
  2. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    1:42 PM
    Nginx 1.13.x
    MariaDB 5.5
  3. Sunka

    Sunka Active Member

    888
    230
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +376
    Local Time:
    5:42 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    On my server I have ignore_db_dirs=lost+found
    But here is different
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,031
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    1:42 PM
    Nginx 1.13.x
    MariaDB 5.5
    yes because my.cnf templates work for mariadb 10.0 and 10.1. Only mariadb 10.1 require underscores while 10.0 use dashes. So during 123.09beta01 mariadb install of 10.1, sed replace on fly changes to underscore but leaves it dash if mariadb 10.0
     
    • Informative Informative x 2