Comments - QA Tests

11 years, 2 months ago Jean Weisbuch

If you want to downgrade or test something on an older version or MariaDB on a Debian/Ubuntu server, you can add the old version repository then install the packages of the old version simply ; for example on Debian Squeeze amd64 with 5.5.33 installed and you want to downgrade to 5.5.32 :

echo "deb http://mariadb.cu.be/mariadb-5.5.32/repo/debian squeeze main" > /etc/apt/sources.list.d/mariadb-5.5.32.list
apt-get update

You can find the version string you need with "apt-cache policy mariadb-server-5.5". It's "5.5.32+maria-1squeeze" in my example.

Then install the packages (adjust the version string to your needs) :

apt-get install mariadb-server-5.5=5.5.32+maria-1~squeeze mariadb-server-core-5.5=5.5.32+maria-1~squeeze libmariadbclient18=5.5.32+maria-1~squeeze libmysqlclient18=5.5.32+maria-1~squeeze mariadb-client-5.5=5.5.32+maria-1~squeeze mariadb-client-core-5.5=5.5.32+maria-1~squeeze

It will ask you if you are sure that you want to downgrade.

ps: don't forget to backup your datas if its not a test server, as downgrading could break things and if possible dump all the datas before the downgrade then import it back after.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.