I have opentaps application use mysql 5.1 version.
I install opentaps on ubuntu and I want to install mysql 5.1 version.
How to install mysql 5.1 on ubuntu 20.04.
CodePudding user response:
Go to https://downloads.mysql.com/archives/community/
In the dropdown box, choose MySQL 5.1.73 from Nov 8, 2013.
Click Download for Linux - Generic (glibc 2.3) (x86, 64-bit), Compressed TAR Archive
cd to the downloads directory (I'll assume it's Downloads)
tar -zxf mysql-5.1.73-linux-x86_64-glibc23.tar.gz
cd mysql-5.1.73-linux-x86_64-glibc23
bin/mysqld with whatever options you prefer
e.g.
export MYSQLDIR=Downloads/mysql-5.1.73-linux-x86_64-glibc23
scripts/mysql_install_db
sudo bin/mysqld --no-defaults --basedir=$HOME/$MYSQLDIR --datadir=$HOME/$MYSQLDIR/data --lower-case-table-names=1 --user=root