当前位置:网站首页>Docker deploy mysql5.7.35
Docker deploy mysql5.7.35
2022-07-28 05:34:00 【weixin_ forty-five million six hundred and twenty-four thousand】
First start docker :systemctl start docker
Then pull mysql Mirror image docker pull mysql :5.7.35
Use docker images Check whether the image you pulled has mysql Mirror image ;
Create a new image
docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.7.35
Here you can type docker ps -a View the image you started
The next step is to enter the container
docker exec -it mysql bash
Be careful : If there is no entry here mysql Container then execute :docker start + Mirror image id;
Next is to enter the password
mysql -uroot -p
Then you can use our very popular mysql La
Hee hee
边栏推荐
猜你喜欢

You must configure either the server or JDBC driver (via the ‘serverTimezone)

GET与POST区别

Personal summary of restful interface use

Framework step by step easy-to-use process

VMware Workstation 与 Device/Credential Guard 不兼容。禁用 Device/Credential Guard

How practical is the struct module? Learn a knowledge point immediately
![[computer level 3 information security] overview of information security assurance](/img/f0/a72e61fda58ea93ca4e9db7274f6e3.png)
[computer level 3 information security] overview of information security assurance

Bean的作用域、执行流程、生命周期

Distillation model diagram

【SLAM】LVI-SAM解析——综述
随机推荐
visio如何快速生成相同的图案,生成图像矩阵
SSLError
First acquaintance with C language (1)
Feignclient calls the get method and reports an error resultvo{result= unknown exception. Exception details: request method 'post' not supported
Classes and objects [medium]
CentOS7安装MySQL5.7
MySQL uses list as a parameter to query
repackag failed: Unable to find main class
7. < tag string and API trade-offs> supplement: Sword finger offer 05. replace spaces
How about ink cloud?
Share several methods of managing flag bits in C program
ES6 new variable modifiers let and const, new basic data type symbol
Oracle用sql查询某张表的字段信息(字段类型、长度等)
Scope, execution process and life cycle of bean
深度学习热力图可视化的方式
11. < tag dynamic programming and subsequence, subarray> lt.115. Different subsequences + Lt. 583. Deletion of two strings DBC
BigDecimal rounds and retains two decimal places
Example of main diagram of paper model
SimpleDateFormat线程不安全和DateTimeFormatter线程安全
凛冬已至,程序员该怎么取暖