Submitted by newtonek on Wed, 10/19/2011 - 02:56
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
When user clones virtual server all his mysql database rights are lost. Postrgresql is ok, mail, www too. Problem is with mysql only.
Comments
Submitted by andreychek on Wed, 10/19/2011 - 07:38 Comment #1
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?
Submitted by JamieCameron on Wed, 10/19/2011 - 10:55 Comment #2
Actually, this fix won't be out till the 3.89 Virtualmin release .. 3.88 still has the bug.
Submitted by newtonek on Wed, 10/19/2011 - 13:36 Comment #3
Ok. When 3.89 will be available?
Submitted by andreychek on Wed, 10/19/2011 - 13:40 Comment #4
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