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-admin-template dynamic routing implementation example

Provide login and obtain user information data in...

Nginx routing forwarding and reverse proxy location configuration implementation

Three ways to configure Nginx The first method di...

Color matching techniques and effect display for beauty and styling websites

Color is one of the most important elements for a...

How to change the default character set of MySQL to utf8 on MAC

1. Check the character set of the default install...

js to write the carousel effect

This article shares the specific code of js to ac...

Add a copy code button code to the website code block pre tag

Referring to other more professional blog systems...

An article to give you a deep understanding of Mysql triggers

Table of contents 1. When inserting or modifying ...

CSS to achieve fast and cool shaking animation effect

1. Introduction to Animate.css Animate.css is a r...

Example code for realizing charging effect of B station with css+svg

difficulty Two mask creation of svg graphics Firs...

Detailed explanation of SQL injection - security (Part 2)

If there are any errors in this article or you ha...

When should a website place ads?

I recently discussed "advertising" with...

Three ways to draw a heart shape with CSS

Below, we introduce three ways to draw heart shap...

Summary of the use of Vue computed properties and listeners

1. Computed properties and listeners 1.1 Computed...

SQL injection vulnerability process example and solution

Code example: public class JDBCDemo3 { public sta...

Html and CSS Basics (Must Read)

(1) HTML: HyperText Markup Language, which mainly...