[Ubuntu 20.04][MySQL5.7]Problems installing mysql5.7 on Ubuntu 20.04

E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt-get install mysql-client=5.7*
sudo apt-get install mysql-community-client=5.7*
sudo apt-get install mysql-community-server=5.7*
sudo apt-get install mysql-server=5.7*
mysqld: Can't read dir of '/etc/mysql/conf.d/'
cd /etc/mysql
sudo cp -r mysql.conf.d conf.d

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store