Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Explanation of Docker deployment of single-node Mysql on Ali Cloud esc server

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

1. Download accelerated version of msyql

Docker pull hub.c.163.com/library/mysql:5.7

two。 Rename

Docker tag hub.c.163.com/library/mysql:5.7 mysql:5.7

3. Start

Docker run-it-- rm-- name mysql-e MYSQL_ROOT_PASSWORD=123456-p 3306 purl 3306-d mysql

4. Set up mysql remote login

Docker exec-it mysql bash mysql-uroot-p123456ALTER user 'root'@'%' IDENTIFIED WITH mysql_native_password BY' 123456'

Summary

The above is the whole content of this article. I hope the content of this article has a certain reference and learning value for everyone's study or work. Thank you for your support. If you want to know more about it, please see the relevant links below.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report