servisys / ispconfig_setup

ISPConfig autoinstaller and setup
GNU General Public License v3.0
508 stars 257 forks source link

MYSQL CHECK MULTISERVER #192

Open cf7to1 opened 7 years ago

cf7to1 commented 7 years ago

Ciao, nell'installazione multiserver vengono chiesti i dati del server master remoto e correttamente vengono inseriti. Ma se il server che stiamo facendo (quello da aggiungere al master) è totalmente pulito con nessun pacchetto installato non è possibile fare il check dell'utente mysql remoto. mi riferisco al file: askquestions_multiserver.sh

ed a queste righe:

      if mysql --user=root --password=$CFG_MASTER_MYSQL_ROOT_PWD --host=$CFG_MASTER_FQDN --execute="\q" ; then
        CHECK_MASTER_CONNECTION=true        # If variable is empty, then the connection when fine, so we set true to exit from cycle

se il server nuovo NON ha mysql installato il sistema di installer si blocca perchè giustamente non riesce a fare il check remoto. Nella vecchia versione questi dati venivano chiesti DOPO aver installato mysql localmente nel server...

tmikaeld commented 7 years ago

Translation: The MySQL client is not installed when the script is asking for validation of the multiserver setup on the master node, so it cannot connect to the master to verify the connection and thus one can never pass this step.