Clone Virtual Server

When user clones virtual server all his mysql database rights are lost. Postrgresql is ok, mail, www too. Problem is with mysql only.

Status: 
Active

Comments

This was indeed a bug in earlier Virtualmin versions, but I believe that's corrected now. Which Virtualmin version are you using on your system?

Actually, this fix won't be out till the 3.89 Virtualmin release .. 3.88 still has the bug.

Ok. When 3.89 will be available?

There is a workaround you can use in the meantime --

The work-around until the 3.89 release is to edit /usr/share/webmin/virtual-server/feature-mysql.pl and change lines 642-643 from :

local @allowed = &get_mysql_allowed_hosts($oldd);
&save_mysql_allowed_hosts($d, \@allowed);

to :

if (!$d->{'parent'}) {
  local @allowed = &get_mysql_allowed_hosts($oldd);
  &save_mysql_allowed_hosts($d, \@allowed);
  }

Then run /etc/webmin/restart