Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
安装mysql失败怎么解决?
Experiences and Insight
487
views ·
3
replies ·
To
floor
Go
kunkun3399
deepin
2018-12-28 03:48
Author
Reply
Like 0
Favorite
View the author
All Replies
hansomeyi
deepin
2018-12-28 03:53
#1
换一种安装方式
Reply
Like 0
View the author
kunkun3399
deepin
2018-12-28 03:54
#2
已经解决了,是我把包名记混了,应该是apt-get install mysql-server mysql-client -y
Reply
Like 0
View the author
魔法师
deepin
2018-12-28 08:00
#3
sudo apt install docker.io
docker pull mysql:5.7
docker run --name mysql-5.7 -p 3306:3306 -v (这个部分自己写如:/home/xxx/deploy/docker/mysql_data:/var/lib/mysql) mysql:5.7
以上是docker的使用方式,你安装了docker,并下载了mysql:5.7镜像,部署了一个容器起名叫 mysql-5.7 ,端口主从映射3306端口,数据主从映射到你的用户文件夹下的deploy/docker/mysql_data。启动关闭都可以用docker start mysql-5.7或docker stop mysql-5.7。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More