Get the most out of your Centmin Mod LEMP stack
Become a Member

MariaDB 10.4 configuration for DirectAdmin

Discussion in 'Virtual Private Server (VPS) hosting' started by pdinh97qng, Feb 4, 2022.

  1. pdinh97qng

    pdinh97qng Member

    114
    13
    18
    Jan 24, 2016
    Ratings:
    +35
    Local Time:
    3:38 AM
    Hello everyone,

    I have used Centminmod for a while and really happy with it. However, I need to set up a DA. My question is that can I just copy MariaDB 10.4 configuration from a similar spec server using Centminmod to the new server using DA?

     
  2. buik

    buik “The best traveler is one without a camera.”

    1,675
    461
    83
    Apr 29, 2016
    Flanders
    Ratings:
    +1,444
    Local Time:
    12:38 PM
    Nope. DirectAdmin will take care of it.
     
  3. pdinh97qng

    pdinh97qng Member

    114
    13
    18
    Jan 24, 2016
    Ratings:
    +35
    Local Time:
    3:38 AM
    DA doesn't create a my.conf. That why I need to ask. If I was not wrong, there's something wrong with MariaDB 10.4 that need to be patch or it will cause high usage on resource.
     
  4. eva2000

    eva2000 Administrator Staff Member

    48,909
    11,190
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,424
    Local Time:
    8:38 PM
    Nginx 1.21.x
    MariaDB 10.x
    Yeah I wouldn't just copy /etc/my.cnf from Centmin Mod to DirectAdmin. For one thing Centmin Mod 123.09beta01 defaults to MariaDB 10.3 so won't be same as MariaDB 10.4.

    Even if you do update Centmin Mod 123.09beta01 to MariaDB 10.4, there will still be environmental differences between Centmin Mod and DirectAdmins server as Centmin Mod on initial install actually dynamically auto detects server environment, CPU, memory and disk performance and auto optimises MariaDB's /etc/my.cnf settings based on the server. So you can't really just blindly copy the settings to another server as the settings won't be for that DirectAdmin server environment.
     
  5. buik

    buik “The best traveler is one without a camera.”

    1,675
    461
    83
    Apr 29, 2016
    Flanders
    Ratings:
    +1,444
    Local Time:
    12:38 PM
  6. buik

    buik “The best traveler is one without a camera.”

    1,675
    461
    83
    Apr 29, 2016
    Flanders
    Ratings:
    +1,444
    Local Time:
    12:38 PM