Home > Database > Mysql Tutorial > body text

How to install mysql database on ubuntu

WBOY
Release: 2022-01-20 11:19:57
Original
17012 people have browsed it

Method: 1. Open "Ubuntu Software Center", search for mysql in the search box, select "MySQL Server", and click to install; 2. Use "sudo apt-get install mysql-serve" in the ubuntu terminal Just install the command.

How to install mysql database on ubuntu

The operating environment of this tutorial: linux7.3 system, mysql8.0.22 version, Dell G3 computer.

How to install mysql database on ubuntu

ubuntu is a free open source desktop PC operating system based on Linux, which is very consistent with Intel's ultrabook positioning. Supports x86, 64-bit and ppc architectures. A relatively popular Linux operating system, it is not only easy to use, but also very compatible with Windows. So how to install mysql database in ubuntu?

There are two main ways to install mysql in ubuntu:

1. Open Ubuntu Software Center, query mysql in the search box in the upper right corner, and then Select MySQL Server and click Install.

2. Use commands to install mysql. After all, the Ubuntu system is mainly based on commands.

Open the ubuntu terminal and execute: sudo apt-get install mysql-server

Then you can see a series of execution processes. Wait for a while and the installation will be completed.

How to install mysql database on ubuntu

Enter mysql below, just like cmd, mysql -h localhost - u root -p and then enter the sudo password.

How to install mysql database on ubuntu

In this way, you will enter the ubuntu database, and the next operation is the normal operation of the database.

Recommended learning: mysql video tutorial

The above is the detailed content of How to install mysql database on ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!