How To Install MySQL On Ubuntu 18.04

introduce

MySQL is an open source database management system usually installed as part of the popular LAMP (Linux, Apache , MySQL , PHP/ Python /Perl) stack. It uses a relational database and SQL (Structured Query Language) to manage its data.

The short version of the installation is simple: update your package index, install the package mysql-server , and run the included security script.

  1. sudo apt update
  2. sudo apt install mysql-server
  3. sudo mysql_secure_installation
copy

This tutorial will explain how to install MySQL version 5.7 on an Ubuntu 18.04 server. However, if you wish to update your existing MySQL installation to version 5.7, you can read this MySQL 5.7 update guide .

The post How to install MySQL on Ubuntu 18.04 first appeared on Lenix Blog .

This article is transferred from https://blog.p2hp.com/archives/10286
This site is only for collection, and the copyright belongs to the original author.