- On your home path, create a folder
mkdir mysql-ws
to download mysql files - On your download folder
cd mysql-ws
, download the mysql bundle.wget https://downloads.mysql.com/archives/get/p/23/file/mysql-server_5.7.28-1ubuntu18.04_amd64.deb-bundle.tar
- Extract tar file
tar -xvf mysql-server_5.7.28-1ubuntu18.04_amd64.deb-bundle.tar
- The command above, will extract in the current folder.
- Delete some unnecessary files
rm -rf mysql-testsuite_5.7.28-1ubuntu18.04_amd64.deb mysql-community-test_5.7.28-1ubuntu18.04_amd64.deb
- To install mysql, run
sudo dpkg -i mysql-*deb
- If you have a problem with libmecab2 or libaio1, run the follow command
sudo apt --fix-broken install
- Configure root password.
- If you have a problem with libmecab2 or libaio1, run the follow command
- Check mysql access
sudo mysql -u root -p
Last active
February 18, 2021 21:31
-
-
Save MarinhoFeliphe/7d0e7018217da39c9ea6f9bfcb1f3b38 to your computer and use it in GitHub Desktop.
How to Install MySQL 5.7 for Ubuntu 18.04
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment