virtualmin / virtualmin-gpl

Virtualmin web hosting control panel for Webmin
https://www.virtualmin.com
GNU General Public License v3.0
331 stars 102 forks source link

MySQL or MariaDB: selector #926

Closed Ramoonus closed 1 month ago

Ramoonus commented 1 month ago

New feature request Functionality should be similar, only package names are different, and config files are stored in another location but should be relatively easy to implement

iliajie commented 1 month ago

Hello,

Can you elaborate on your suggestion? Are you proposing an option to choose between installing MySQL or MariaDB during the Virtualmin installation?

Ramoonus commented 1 month ago

Hello,

Can you elaborate on your suggestion? Are you proposing an option to choose between installing MySQL or MariaDB during the Virtualmin installation?

Exactly! Some (web-based) applications run better on one or the other. Real difference for VM would be mostly in the installation prompt and most administrative things can easily be made for both

iliajie commented 1 month ago

We currently allow installing MySQL manually, but it must be pre-installed (without performing any configurations) before running the Virtualmin installation script.

Ramoonus commented 1 month ago

I tried to install it afterwards by removing MariaDB but I had to spin a new server to be successful

iliajie commented 1 month ago

I tried to install it afterwards by removing MariaDB but I had to spin a new server to be successful

You can do it afterward if done correctly. First, completely remove MariaDB, including manually deleting /var/lib/mysql directory, then install MySQL and run:

virtualmin-config-system -i MySQL
Ramoonus commented 1 month ago

thank you, but wasn`t clear to me from the documentation

iliajie commented 1 month ago

thank you, but wasn`t clear to me from the documentation

Thanks, you're right! I’ve just updated the Download page to include instructions on how MySQL should be pre-installed.