-1

The current installation of mysql is 5.5.30 and it is in Amazon ec2 I want to upgrade it to 5.6.21

I used

sudo apt-get install mysql-server=5.6.21

But it says:

Version '5.6.21' for 'mysql-server' was not found

Any idea?

  • Every repository does not necessarily have the latest version of each program. You might need to find one that has the version you want. – fixer1234 Mar 11 '15 at 17:10
0

I would suspect version 5.6.21 just isn't offered in your distro's package manager.

You should be able to check which version(s) are reported as available if you run apt-cache policy mysql-server.

i.e.: here's the current output I get from Debian Wheezy:

$ sudo apt-cache policy mysql-server
mysql-server:
  Installed: (none)
  Candidate: 5.5.41-0+wheezy1
  Version table:
     5.5.41-0+wheezy1 0
        500 http://mirrordirector.raspbian.org/raspbian/ wheezy/main armhf Packages

So 5.5.41 is the current version offered through the package manager.

You can downloaded newer versions from MySQL directly, and install it manually.

  • This is a Amazon EC2 instance of the server. Can the OP download and install manually this? – James Mertz Mar 11 '15 at 20:00
  • Wheezy is the stable repository. You won't find the latest version of anything there. Ubuntu is based on Debian Testing, and it's not even there. – fixer1234 Mar 12 '15 at 5:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.