[Topic DIscussion] 请教:deepin安装哪个mysql?
Tofloor
poster avatar
嵩云闲人
deepin
2021-09-10 01:48
Author

在官网中,没有deepin的mysql。找了个debian的,太多下载包,不知道下载哪个好。主要用于应用开发和测试。请大神指导。

Reply Favorite View the author
All Replies
wecli
deepin
2021-09-10 01:59
#1
It has been deleted!
嵩云闲人
deepin
2021-09-10 02:06
#2

Reply View the author
嵩云闲人
deepin
2021-09-10 02:09
#3
wecli It has been deleted!

有很多deb包,不知道`下载哪个。

Reply View the author
sammy-621
deepin
2021-09-10 02:14
#4

打开命令行:sudo apt install mariadb

Reply View the author
leek
deepin
2021-09-10 02:24
#5

还是docker安装吧。。。省事儿。

Reply View the author
Hello
deepin
2021-09-10 02:54
#6

装mariadb,没区别的

Reply View the author
bluesky_
deepin
2021-09-10 05:12
#7

docker

Reply View the author
忘记、过去
deepin
2021-09-10 07:09
#8
curl -OL https://dev.mysql.com/get/mysql-apt-config_0.8.16-1_all.deb

sudo dpkg -i ./mysql-apt-config_0.8.16-1_all.deb

 

仓库选择 Debian buster,各组件配置自己决定。安装完成后执行 sudo apt update,然后 sudo apt install mysql-community-server 就可以安装社区版的 mysql 了

Reply View the author
uvz
deepin
2021-09-10 23:06
#9

sudo apt install docker.io

 

docker run -p 3306:3306 -v /var/docker/mysql:/var/lib/mysql  --name mysql -e MYSQL_ROOT_PASSWORD=yourpassword  --restart=always -d mysql

 

Reply View the author