Welcome to Centmin Mod Community
Register Now

Pre-Install question

Discussion in 'Install & Upgrades or Pre-Install Questions' started by denellum, Jan 14, 2017.

  1. denellum

    denellum Member

    88
    22
    8
    May 11, 2016
    Dallas
    Ratings:
    +32
    Local Time:
    7:21 PM
    1.13.8
    10.1.29
    Update : i updated centminmod today and it reverted my changes on the script :(

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:21 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    what changes you made ? changes to variables shouldn't be made in centmin.sh so if you changed centmin.sh variables you do it in persistent config file /etc/centminmod/custom_config.inc or the changes go deeper than variable changes ?
     
  3. denellum

    denellum Member

    88
    22
    8
    May 11, 2016
    Dallas
    Ratings:
    +32
    Local Time:
    7:21 PM
    1.13.8
    10.1.29
    Code:
     /usr/local/src/centminmod/addons/mysqladmin_shell.sh
    
    It was when i made changes to the following :
    MYSQLHOSTNAME='IP ADDRESS'


    side note : when i made it be a hostname vs IP address it wouldnt work, only worked with IPs :(

    is there a way to change that incase i move hosts?
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:21 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    just updated 123.09beta01 with fix so you can set MYSQLHOSTNAME variable in persistent config at /etc/centminmod/custom_config.inc to override defaults in addons/mysqladmin_shell.sh

    mariadb default listens on ip and privileges for root are on ip only and using ip is better anyway removing dns from equation
     
  5. denellum

    denellum Member

    88
    22
    8
    May 11, 2016
    Dallas
    Ratings:
    +32
    Local Time:
    7:21 PM
    1.13.8
    10.1.29
    all good :) thanks a ton!