I’m trying to update Mysql on debian without success, and all tutorial on internet just fails.
I got Debian 6.0.6 squeeze, my mysql version is mysql Ver 14.14 Distrib 5.1.63.
I did apt-get update and apt-get upgrade it says that nothing is to upgrade.
So I downloaded the last version wget --content-disposition http://www.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.28-debian6.0-x86_64.deb/from/http://cdn.mysql.com/ and installed it
# dpkg -i mysql-5.5.28-debian6.0-x86_64.deb
(Reading database ... 41264 files and directories currently installed.)
Preparing to replace mysql 5.5.28 (using mysql-5.5.28-debian6.0-x86_64.deb) ...
Unpacking replacement mysql ...
Setting up mysql (5.5.28) ...
And… Nothing…
I deleted the previous package sudo apt-get --purge remove mysql and apt-get --purge remove mysql-server then reinstalled it like above, same message, and nothing was installed.
when I do mysql -V I have version mysql Ver 14.14 Distrib 5.1.63, for debian-linux-gnu (x86_64) using readline 6.1 and when I do dpkg -l mysql I get version 5.5.28… on phpinfo I got 5.1.63
Is there a step missing to do this installation ?
Thank you very much
First remove the previous version, then install the new one from the downloaded .deb.