User Tools

Site Tools


ubuntu:mysql:install_mysql

Ubuntu - MySQL - Install MySQL

Download the MySQL APT repository config tool

You can see more details and the latest version of the tool here: http://dev.mysql.com/downloads/repo/apt/

wget https://dev.mysql.com/get/mysql-apt-config_0.8.9-1_all.deb

Install the MySQL APT repository config tool

sudo dpkg -i mysql-apt-config_0.8.9-1_all.deb

You will be asked to select product and version that you want to install.

In the first step, select Server and next select either mysql-5.6 or mysql-5.7. Then click Apply.


Update APT

sudo apt update

Install the server

sudo apt install mysql-community-server
ubuntu/mysql/install_mysql.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki