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

Vue.js application performance optimization analysis + solution

Table of contents 1. Introduction 2. Why do we ne...

Implementation of Docker deployment of ElasticSearch and ElasticSearch-Head

This article mainly explains how to deploy Elasti...

Detailed explanation of CSS background and border tag examples

1. CSS background tag 1. Set the background color...

Design Theory: Hierarchy in Design

<br />Original text: http://andymao.com/andy...

How to use Nginx to handle cross-domain Vue development environment

1. Demand The local test domain name is the same ...

Process analysis of deploying ASP.NET Core applications on Linux system Docker

Table of contents 1. System environment 2. Operat...

Detailed explanation of key uniqueness of v-for in Vue

Table of contents 1. DOM Diff 2. Add key attribut...

Detailed steps to install nginx on Apple M1 chip and deploy vue project

brew install nginx Apple Mac uses brew to install...

Three.js sample code for implementing dewdrop animation effect

Preface Hello everyone, this is the CSS wizard - ...

How to uninstall and reinstall Tomcat (with pictures and text)

Uninstall tomcat9 1. Since the installation of To...

HTML image img tag_Powernode Java Academy

summary Project description format <img src=&q...