MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: MySQL upgrade
Posted by: Kent Boortz
Date: May 03, 2016 01:32AM

You don't specify what platform, what package format etc.

If you install a MSI, Deb, RPM, DMG, PKG (i.e. all but
TAR and ZIP) then the upgrade is handled for you by the
installer.

If you unpack a ZIP you unpack it in some location. Lets
say you unpacked into C:\mymysql and after the unzip you
get

C:\mymysql\mysql-5.7.11-winx64\

When you download and install an upgrade you get in addition

C:\mymysql\mysql-5.7.12-winx64\

The only thing you do to "replace the binaries" is to make
sure your application use the right ones. If you have some sort
of start script, make sure it uses the right directory.

For TAR installs on Unix like platforms there is an assumption
by the provided start script that you after the install create
a soft link to the directory you unpacked the new release

/usr/local/mysql

I.e. if you unpacked and got an install

/mymysql/mysql-5.7.12-osx10.10-x86-64bit/

then there should be a soft link

/usr/local/mysql -> /mymysql/mysql-5.7.12-osx10.10-x86-64bit

But you can of course change the start script or use some
other method to start the server, then no soft link is needed,

kent

Kent Boortz, Release Staff Engineer
Oracle, the MySQL team, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
1113
February 22, 2016 10:38AM
Re: MySQL upgrade
419
May 03, 2016 01:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.