当前位置:网站首页>Installing MySQL 8.0.20 under Linux and ubuntu20.04 LTS
Installing MySQL 8.0.20 under Linux and ubuntu20.04 LTS
2022-06-13 03:37:00 【Chaos scar】
Don't consider docker In the case of deployment , stay Linux Installation on mysql There are three ways I know , One is to pass. apt Way to install , The simplest and most convenient ; The second is to install... In binary mode ; Third, after decompressing the compressed package , Purely manual configuration . This article mainly introduces the first way .
One 、 Download from official website deb file
Official website :MySQL :: Download MySQL APT Repository
Enter download directory , Run the instruction to update the software source information , If this step is not done , By default... Will be installed MYSQL5 edition .
sudo dpkg -i mysql-apt-config_0.8.20-1_all.deb
In the process, select... In several pop-up interfaces mysql server&cluster、mysql8.0、mysql server&cluster, Because I forgot the screenshot during the installation , I'm not going to show you the graph here .
Tips ok Then execute the following instructions
sudo apt-get update
sudo apt-get upgrade
Two 、 install mysql8
sudo apt-get install mysql-server
You will be prompted to enter root password , Choose encryption method ( Choose whichever you like )
After that, you can test whether the installation is successful
mysql -u root -p
show databases;

You can also check whether the service starts normally through instructions , In the content displayed mysql The node is LISTEN Indicates successful startup
sudo netstat -tap | grep mysql
The following instructions can start and shut down mysql service
sudo service mysql start
sudo service mysql stop
3、 ... and 、 Install the graphics client management tool mysql workbench
sudo apt-get install mysql-workbench-community

边栏推荐
- Explain usage, field explanations, and optimization instances of MySQL
- Sparksql of spark
- 【youcans 的 OpenCV 例程200篇】201. 图像的颜色空间转换
- Figure data * reconstruction subgraph
- PHP import classes in namespace
- LVS四层负载均衡集群(5)LVS概述
- Environmental pollution, enterprises, highways, fixed assets, foreign investment in all prefecture level cities in China - latest panel data
- Determine whether the file encoding format is UTF-8 or GBK
- 2016. maximum difference between incremental elements
- Part II. S3. intuitionistic fuzzy multi-attribute decision-making method when attribute weight is intuitionistic fuzzy number
猜你喜欢

The most complete ongdb and neo4j resource portal in history

Simulink code generation: table lookup module and its code
![[azure data platform] ETL tool (1) -- Introduction to azure data factory](/img/0c/cd054c65aee6db5ae690f104db58a3.jpg)
[azure data platform] ETL tool (1) -- Introduction to azure data factory
![[azure data platform] ETL tool (8) - ADF dataset and link service](/img/bf/d6d3a8c1139bb8d38ab9ee1ab9754e.jpg)
[azure data platform] ETL tool (8) - ADF dataset and link service

DTCC | 2021 China map database technology conference link sharing

Masa auth - SSO and identity design

Azure SQL db/dw series (10) -- re understanding the query store (3) -- configuring the query store

Coal industry database - coal price, consumption, power generation & Provincial Civil and industrial power consumption data

Window and various windowfunctions in Flink

Complex network analysis capability based on graph database
随机推荐
How to Draw Useful Technical Architecture Diagrams
【测试开发】自动化测试selenium(三)——unittest框架解析
Spark Foundation
ONNX+TensorRT+YoloV5:基于trt+onnx得yolov5部署1
Masa auth - SSO and identity design
Workflow of driver of spark kernel (stage division, task division, task scheduling)
[azure data platform] ETL tool (7) - detailed explanation of ADF copy data
Explain usage, field explanations, and optimization instances of MySQL
MySQL learning summary 12: system variables, user variables, definition conditions and handlers
Transaction processing in PDO
Solve the error in CONDA installation PyMOL
Technical documentbookmark
Doris creates OLAP, mysql, and broker tables
MySQL learning summary 9: non empty constraints, uniqueness constraints, primary key, auto_ Increment, foreign key, default, etc
Union, intersection and difference sets of different MySQL databases
Simulink code generation: simple state machine and its code
Azure SQL db/dw series (13) -- using query store (2) -- report Introduction (2)
2016. maximum difference between incremental elements
Filters in PHP
Polymorphism in golang