Skip to content

Instantly share code, notes, and snippets.

Avatar

Feliphe Marinho MarinhoFeliphe

  • Liferay Inc
  • Recife, Brazil
View GitHub Profile
@MarinhoFeliphe
MarinhoFeliphe / install-mysql-fedora.md
Last active Feb 18, 2021
How to install mysql in Fedora
View install-mysql-fedora.md

Install Mysql in Fedora Distribution

Author: Rodrigo Cunha

In your terminal:

sudo dnf -y install https://dev.mysql.com/get/mysql80-community-release-fc32-1.noarch.rpm

sudo dnf -y install mysql-community-server

sudo systemctl start mysqld.service

@MarinhoFeliphe
MarinhoFeliphe / install-mysql-5.7-ubuntu.md
Last active Feb 18, 2021
How to Install MySQL 5.7 for Ubuntu 18.04
View install-mysql-5.7-ubuntu.md

Install mysql 5.7 for Ubuntu 18.04

  • 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