Post-install script not changing mysql config

Hello,

Using ubuntu 16.04 cloud image when i'm going through post-installation page, system doesn't pay attention to selected mysql server size and leaves mysql config without changes.

I've tested this on ubuntu 16.04 and debian 8 and bug occurs only on ubuntu. I'm attaching webmin.debug from 'select mysql size' step.

More info:

uname -a

Linux ansible2.pl 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

mysql -V

mysql Ver 14.14 Distrib 5.7.20, for Linux (x86_64) using EditLine wrapper

mysql config location: /etc/mysql/mysql.conf.d/mysqld.cnf

Status: 
Closed (fixed)

Comments

Hi,

Can someone from virtualmin team look into this?

It's quite urgent bug because it's "silent"(users don't see, that mysql settings isn't really updated)

Thanks for contacting us!

Out of curiosity, if you go into System Settings -> Re-Run Install Wizard, does the config get updated at that point? Or do you continue to see the same problem?

Unfortunately, i still see same problem.

Ok, I see the cause of this - the mysqld.cnf file has moved between Ubuntu 14 and 16.

The quick fix is to edit /etc/webmin/mysql/config and correct the my_cnf= line. A proper fix will be in the next Webmin release.

Status: Fixed ยป Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.