Update to MariaDB 10.6

This commit is contained in:
VirtuBox
2022-09-08 20:49:35 +02:00
parent bcf8a3e34c
commit 0ffc52e0d5
6 changed files with 19 additions and 7 deletions

View File

@@ -1279,7 +1279,8 @@ def post_pref(self, apt_packages, packages, upgrade=False):
msg="Adding MySQL into Git")
elif os.path.exists('/etc/mysql/conf.d/my.cnf'):
if ((WOAptGet.is_installed(
self, 'mariadb-server-10.5')) and
self,
'mariadb-server-{0}').format(WOVar.mariadb_ver)) and
not (WOFileUtils.grepcheck(
self, '/etc/mysql/conf.d/my.cnf', 'socket'))):
try:

View File

@@ -187,7 +187,7 @@ class WOVar():
# APT repositories
wo_mysql_repo = ("deb [arch=amd64,arm64,ppc64el] "
"http://mariadb.mirrors.ovh.net/MariaDB/repo/"
"10.5/{distro} {codename} main"
"10.6/{distro} {codename} main"
.format(distro=wo_distro,
codename=wo_platform_codename))
if wo_distro == 'ubuntu':