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
This commit is contained in:
Jochen Neumeister 2023-02-18 12:28:04 +01:00
parent 7c7b955d24
commit 7a2b905dba
3 changed files with 24 additions and 2 deletions

View file

@ -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

View file

@ -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)

View file

@ -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