Problem after hostname change

Discussion in 'Installation/Configuration' started by pecka33, Apr 12, 2021.

  1. pecka33

    pecka33 Member


    i have set new hostname via ispconfig in server oconfig, now i can not connect with db and get error
    Database Error: Cannot connect to [0]

    MySQL server has gone away

    any ideas what should i did wrong? or where i can back hostname? In ispconfig was xy524 and i set to

    i can not bakc it to xy524
  2. pecka33

    pecka33 Member

    Probably solved. In db confiig i had to change hostname to
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Is this a single server ISPConfig setup?
    You may need to refer to the ISPConfig manual to see what entries the host needs in the database user table.
  4. pecka33

    pecka33 Member

    Yes, but problem was solved. Hostname was changed fine, but in this case i had to use new hostname for db - and not what i use before just xy524
    That is vps with preinstalled ispconfig.

Share This Page