Tutorial on installing MYSQL8.0 on Alibaba Cloud ESC

Tutorial on installing MYSQL8.0 on Alibaba Cloud ESC

Open the connection tool. I use MobaXterm_Personal_12.1 (official website download address: https://moba.en.softonic.com/)

Connect to ecs and remove the default mariadb

Database: yum remove mariadb-libs.x86_64

Then create a directory. I usually put the software in /usr/local, then enter the directory and download: wget

https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm

Then install

The two names in the red box need to be the same.

After entering yum localinstall my you can press the tab key to automatically complete it.

This option will appear, just enter y

Installation: yum install mysql-community-server

This indicates a successful installation:

Then start: service mysqld start View the status service mysqld status

This indicates a successful startup:

View the initial password: cat /var/log/mysqld.log | grep password

Login: mysql -u root -p

[Since the password you enter is not displayed, don't worry, just enter it as you want]

This indicates that the login is successful.

Summarize

The above is the tutorial on how to install MYSQL8.0 on Alibaba Cloud ESC. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • Detailed tutorial on installing mysql8.0.22 on Alibaba Cloud centos7
  • Detailed tutorial on installing MySQL database on Alibaba Cloud Server
  • How to install MySQL 8.0.13 in Alibaba Cloud CentOS 7
  • Alibaba Cloud ECS cloud server (linux system) cannot connect remotely after installing MySQL (pitfall)
  • Detailed explanation of how to install MySQL on Alibaba Cloud
  • Tutorial on installing MySQL on Alibaba Cloud Centos 7.5
  • How to solve the 2002 error when installing MySQL database on Alibaba Cloud
  • Detailed explanation on how to install MySQL database on Alibaba Cloud Server

<<:  Linux uses Rsync+Inotify to achieve real-time synchronization of local and remote data

>>:  Vue implements a simple magnifying glass effect

Recommend

Solution to Vue data assignment problem

Let me summarize a problem that I have encountere...

JavaScript imitates Jingdong magnifying glass special effects

This article shares the specific code of JavaScri...

9 Tips for Web Page Layout

<br />Related articles: 9 practical suggesti...

Implementation steps for installing java environment in docker

This article is based on Linux centos8 to install...

CSS3 realizes the mask barrage function

Recently I saw a barrage effect on B station call...

react-diagram serialization Json interpretation case analysis

The goal of this document is to explain the Json ...

Summary of constructor and super knowledge points in react components

1. Some tips on classes declared with class in re...

JavaScript to achieve mouse drag effect

This article shares the specific code of JavaScri...

Vue implements the magnifying glass function of the product details page

This article shares the specific code of Vue to i...

TypeScript namespace merging explained

Table of contents Merge namespaces with the same ...

JavaScript to implement checkbox selection or cancellation

This article shares the specific code of JavaScri...

MySQL uses custom sequences to implement row_number functions (detailed steps)

After reading some articles, I finally figured ou...