Change IP address EXCLUSIVE to SHARED and viceversa per PLESK, PSA, PARALLELS

  1. Entra come amministratore (root) tramite SSH
  2. Entra in MYSQL per gestire il DB
    # mysql -u admin -p
  3. Connettiti al DB corretto
    # connect psa
  4. Esegui un select per vedere quanti record ci sono nella tabella IP_TOOL (del database PSA)
    # select * from ip_pool;
  5. Aggiorna i contenuti selezionati mettendoli SHARED dal gruppo del ip_address_id uguale a 1
    # update ip_pool SET type = ‘exclusive’ where ip_address_id = 1;
    o in alternativa mette tutti i record in SHARED che erano EXCLUSIVE
    # update ip_pool SET type = ‘shared’ where type = ‘exclusive’;
  6. Si esegue nuovamente un select per verificare i valori aggiornati.
    # select * from ip_pool;
  7. chiudere sia mysql che ssh con
    # exit
    # exit