Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
Mysql依赖问题
Experiences and Insight
371
views ·
4
replies ·
To
floor
Go
zed7th
deepin
2019-12-30 22:23
Author
使用c语言做数据库开发时需要用到mysql的相关库,但是用apt无法安装libmysqlclient-dev,难道只能手动下载了嘛
Reply
Like 0
Favorite
View the author
All Replies
走钢丝
deepin
2019-12-30 22:27
#1
Reply
Like 0
View the author
ghostry
deepin
2019-12-30 22:48
#2
本帖最后由 ghostry 于 2019-12-30 14:50 编辑
docker run -d --name mysql \
-e MYSQL_ROOT_PASSWORD=password \
-e MYSQL_LOG_CONSOLE=true \
-v ~/mysql:/var/lib/mysql \
-p 3306:3306 \
--restart always \
-m 256M \
mariadb:10
Copy the Code
Reply
Like 0
View the author
199******15
deepin
2019-12-30 22:58
#3
使用docker吧,不会有环境影响
Reply
Like 0
View the author
zed7th
deepin
2019-12-30 23:14
#4
https://bbs.deepin.org/post/187531
谢谢了,原来是default-libmysqlclient-dev 这个包
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 Ranking
Change
WiFi Drivers
Popular Events
More