MySQL server 5.7 isn't available in the repositories of Ubuntu 20.04 LTS but is available in Bionic Beaver (18.04) from Ubuntu's official repostories as well as MySQL's. You can install MySQL Server 5.7 on using Bionic's repository.
Ref:https://askubuntu.com/questions/1199495/is-it-possible-to-install-mysql-server-5-7-on-ubuntu-19-10
To use MySQL's repository for Ubuntu 18.04
- First of all create a new text file with sudo privileges:
sudo nano /etc/apt/sources.list.d/mysql.list
- Add these lines:
deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-apt-config
deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7
deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools
deb-src http://repo.mysql.com/apt/ubuntu/ bionic mysql-5.7
- Pin the version of mysql-client and mysql-server to 5.7*. For this create the file /etc/apt/preferences.d/mysql with content
sudo nano /etc/apt/preferences.d/mysql
- Add these lines:
Package: mysql-server Pin: version 5.7* Pin-Priority: 1001 Package: mysql-client Pin: version 5.7* Pin-Priority: 1001 Package: mysql-community-server Pin: version 5.7* Pin-Priority: 1001 Package: mysql-community-client Pin: version 5.7* Pin-Priority: 1001
Update repo and install
sudo apt update
sudo apt install mysql-client mysql-server
Ref:https://askubuntu.com/questions/1199495/is-it-possible-to-install-mysql-server-5-7-on-ubuntu-19-10
great article!! sharing these type of articles is the nice one and i hope you will share an article on data science.By giving a institute like 360DigiTMG.it is one the best institute for doing certified courses
ReplyDeletedata science course
Great blog!! I hope you're going to post an artificial intelligence blog.
ReplyDeleteartificial intelligence course in noida
ReplyDeleteHello there to everyone, here everybody is sharing such information, so it's fussy to see this webpage, and I used to visit this blog day by day
hrdf claimable training
Wonderful blog post. This is absolute magic from you! I have never seen a more wonderful post than this one. You've really made my day today with this. I hope you keep this up!
ReplyDeletebusiness analytics course
I'm glad to see the extensive unpretentious component here!.
ReplyDeletewhat is hrdf claimable
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your posts, I guess I am not the only one having all the enjoyment here! Keep up the excellent work. web development in pakistan
ReplyDelete