git: 7a2b905dba5c - main - Mk/bsd.default-version.mk: Update default MySQL version to 8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Feb 2023 11:31:43 UTC
The branch main has been updated by joneum:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7a2b905dba5c286c0a4555747da5e3fd528fecee
commit 7a2b905dba5c286c0a4555747da5e3fd528fecee
Author: Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2023-02-18 11:28:04 +0000
Commit: Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2023-02-18 11:31:36 +0000
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
---
Mk/Uses/mysql.mk | 2 +-
Mk/bsd.default-versions.mk | 2 +-
UPDATING | 22 ++++++++++++++++++++++
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