summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2023-02-18 12:28:04 +0100
committerJochen Neumeister <joneum@FreeBSD.org>2023-02-18 12:31:36 +0100
commit7a2b905dba5c286c0a4555747da5e3fd528fecee (patch)
tree3baf497202f726cac8a9daeb8677b76ce4e185f5
parent7c7b955d24d72f0fded24130522328a6df57b316 (diff)
downloadfreebsd-ports-7a2b905dba5c286c0a4555747da5e3fd528fecee.zip
Mk/bsd.default-version.mk: Update default MySQL version to 8.0
Change the default version of MySQL to 8.0 PR: 269203 Exp-run-by: antoine Sponsored by: Netzkommune GmbH
-rw-r--r--Mk/Uses/mysql.mk2
-rw-r--r--Mk/bsd.default-versions.mk2
-rw-r--r--UPDATING22
3 files changed, 24 insertions, 2 deletions
diff --git a/Mk/Uses/mysql.mk b/Mk/Uses/mysql.mk
index 2ffb2ad905d8..2f9f7451d861 100644
--- a/Mk/Uses/mysql.mk
+++ b/Mk/Uses/mysql.mk
@@ -5,7 +5,7 @@
#
# version If no version is given (by the maintainer via the port), try to
# find the currently installed version. Fall back to default if
-# necessary (MySQL-5.7 = 57, look at bsd.default-versions.mk for
+# necessary (MySQL-8.0 = 80, look at bsd.default-versions.mk for
# possible values).
# client Depends on the libmysqlclient library (default)
# server/embedded
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 2f8eacd092a2..4de4d3b37663 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -90,7 +90,7 @@ LUAJIT_DEFAULT?= luajit-devel
# Possible values: 5.10, 5.20, 6.8
MONO_DEFAULT= 5.10
# Possible values: 5.6, 5.7, 8.0, 10.3m, 10.4m, 10.5m, 5.7p, 5.7w
-MYSQL_DEFAULT?= 5.7
+MYSQL_DEFAULT?= 8.0
# Possible values: ninja, samurai
NINJA_DEFAULT?= ninja
# Possible value: 14, 16, 18, 19, current, lts (Note: current = 19 and lts = 18)
diff --git a/UPDATING b/UPDATING
index d3bd39a6dcb5..87a42a064504 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,28 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20230218:
+ AFFECTS: users of databases/mysql57-(server|client)
+ AUTHOR: joneum@FreeBSD.org
+
+ The default MySQL version has been updated from 5.7 to 8.0.
+
+ If you compile your own ports you may keep 5.7 as the default version by
+ adding the following lines to your /etc/make.conf file:
+
+ #
+ # Keep MySQL 5.7 as default version
+ #
+ DEFAULT_VERSIONS+=mysql=5.7
+
+ If you wish to update to the new default version, you need to first stop any
+ running server instance. Then, you will need to follow these steps, depending
+ on installed packages.
+
+ # pkg set -o databases/mysql57-client:databases/mysql80-client
+ # pkg set -o databases/mysql57-server:databases/mysql80-server
+ # pkg upgrade
+
20230215:
AFFECTS: users of python
AUTHOR: vishwin@FreeBSD.org