# MariaDB support after unwanted change

**URL:** <https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703>\
**Category:** Virtualmin\
**Created:** [August 5, 2021, 4:11pm UTC](https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703 "2021-08-05T16:11:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvieille](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/j/cdc98d/32.png) [@jvieille](https://forum.virtualmin.com/u/jvieille)\
**Post date:** [August 5, 2021, 4:11pm UTC](https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703/1 "2021-08-05T16:11:09Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| **Operating system:** | Ubuntu Linux 18.04.5 |
| **Webmin version:** | 1.973 |
| **Virtualmin version:** | 6.16 |
| **Related products version:** | RECOMMENDED |

* * *

Follow-up of

> [@Mysql broken, apparently self-replaced by Mariadb](https://forum.virtualmin.com/t/mysql-broken-apparently-self-replaced-by-mariadb/110824):
>
> Mysql suddenly stopped running this morning. I got this error: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “No such file or directory”) Virtuamin mentions now Mariadb, I am pretty sure it was Mysql before Looking at cnf files, a new mariadb.cnf dated of today was here, including mariadb.conf.d and conf.d, but not mysql.conf.d where my mysql configuration is. Including my cnf file does not help, nor adding user = root as it was sugg…

Is there any progress?  
It is too painfull replacing MariaDB back to MySQL after the unwanted change by a mistaken Virtuamin upgrade.  
I followed this advice from ILia which look the simplest:

1. Putting this package on hold, like **`apt-mark hold virtualmin-lamp-stack`** (however this will prevent running upgrades from UI as Webmin _Software Packages Updates_ module uses **`-y`** param with package name individually to upgrade a package, however, when package that is on hold is getting changed, upgrade will not work automatically (thankfully) unless additional param **`--allow-change-held-packages`** is passed). In other words future package upgrades could only be done using console by running **`apt-get upgrade`** command;

I then updating all 138 packages from the webmin UI excluding the virtualmin-lamp-stack package.  
This did not break the server, and all updates disappeared including the virtualmin-lamp-stack package.  
I dared to reboot the server, and everything is still working.

Now, I understand that the virtualmin-lamp-stack package will not be updated anymore, preventing unwanted revert to MySQL.

1. Will future updates show up in Webmin, or will I need to run apt-get update/upgrade periodically?

2. What will not be upgraded by the **`apt-get upgrade`** command? Will Apache, PHP and Mariadb still upgraded? What about Webmin and Virtualmin?

3. Will Webmin/virtualmin be eventually fixed to keep MariaDB if it is used instead of MySQL?

Thanks for help.

---

<div class="post-metadata">

**Author:** ![jvieille](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/j/cdc98d/32.png) [@jvieille](https://forum.virtualmin.com/u/jvieille)\
**Post date:** [October 2, 2021, 9:10am UTC](https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703/2 "2021-10-02T09:10:45Z")

</div>

I have put `virtualmin-lamp-stack` on hold, everything is fine, I run apt-get update/upgrade.  
What are the side-effects? What Webmin/Virtuamin will miss?

---

<div class="post-metadata">

**Author:** ![unborn](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/unborn/32/23353_2.png) [@unborn](https://forum.virtualmin.com/u/unborn)\
**Post date:** [October 2, 2021, 2:14pm UTC](https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703/3 "2021-10-02T14:14:16Z")

</div>

he is on 18.04 out of date… pointless to even say something…

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [October 2, 2021, 8:10pm UTC](https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703/4 "2021-10-02T20:10:06Z")

</div>

`virtualmin-lamp-stack` is a meta-package, just a list of dependencies. It does not lock versions of those dependencies (it may have some minimum versions specified, but that’s not going to prevent updates).

It has nothing to do with any other software updates on your system. Updates will continue to work as always.

@unborn 18.04 is not EOL. It continues to be supported by Ubuntu, and by us.

---

<div class="post-metadata">

**Author:** ![Gomez\_Adams](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/gomez_adams/32/3221_2.png) [@Gomez\_Adams](https://forum.virtualmin.com/u/Gomez_Adams)\
**Post date:** [October 4, 2021, 12:48pm UTC](https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703/5 "2021-10-04T12:48:41Z")

</div>

> [@unborn](#):
>
> he is on 18.04 out of date

End of life for 18.04 LTS is April of 2023. For 20.04 LTS it’s April of 2025.

---

<div class="post-metadata">

**Author:** ![unborn](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/unborn/32/23353_2.png) [@unborn](https://forum.virtualmin.com/u/unborn)\
**Post date:** [October 6, 2021, 9:41am UTC](https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703/6 "2021-10-06T09:41:20Z")

</div>

@all I’m sorry I do not use Ubuntu os at all for some reason and I was wrong…I’m very sorry for my comments in community.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [October 14, 2021, 9:41am UTC](https://forum.virtualmin.com/t/mariadb-support-after-unwanted-change/111703/7 "2021-10-14T09:41:26Z")

</div>

Closed on October 14, 2021, 9:41am UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
