Upgrading v2

If you have an existing installation of MySQL Foreign Data Wrapper that you installed using the EDB repository, you can update your repository configuration file and then upgrade MySQL Foreign Data Wrapper to a more recent product version.

To perform the process, open a terminal window and enter the commands that apply to the operating system and package manager used for the installation:

To update your repository configuration file:

sudo <package-manager> upgrade edb-repo

Where <package-manager> is the package manager used with your operating system:

Package managerOperating system
dnfRHEL 8/9 and derivatives
yumRHEL 7 and derivatives, CentOS 7
zypperSLES
apt-getDebian and Ubuntu

To upgrade to the latest product version, enter one of the following commands:

Operating systemUpgrade command
RHEL 8/9 and derivativessudo dnf -y upgrade edb-as<xx>-mysql<y>_fdw* mysql-community-devel
RHEL 7 and derivatives, CentOS 7sudo yum -y upgrade edb-as<xx>-mysql<y>_fdw* mysql-community-devel
SLESsudo zypper -y upgrade edb-as<xx>-mysql<y>_fdw* mysql-community-devel
Debian and Ubuntusudo apt-get upgrade edb-as<xx>-mysql<y>-fdw

Where

  • <package-manager> is the package manager used with your operating system.

  • <xx> is the EDB Postgres Advanced Server version number.

  • <y> is the version of MySQL to be upgraded.