惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
IT之家
IT之家
C
Check Point Blog
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
M
MIT News - Artificial intelligence
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
F
Fortinet All Blogs
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)

博客园 - 布鲁伊

iphone备忘录用快捷指令同步到memos mac mini 2009 安装Debian后风扇降速 twitter长图浏览优化 飞牛nas播放卡顿的解决方案 安装 File Browser 轻量网盘工具 windows10无法访问ubuntu共享文件夹,0x80004005错误。 INFJ型人 自由职业之路 批量导入VCF文件 解决Windows无法访问Internet却可以上网的问题 ubuntu扩容 /dev/mapper/ubuntu--vg-ubuntu--lv磁盘空间 rdesktop -f -u 用户名 ip :端口号 Ubuntu开启FTP服务 nginx常用命令 ubuntu安装iRedmail 添加WORDPRESS上传文件的类型 ubuntu搭建DNS服务器 xcode 启动时一直提示正在验证 MYSQL 命令自动补全
树莓派安装mysql
布鲁伊 · 2021-05-07 · via 博客园 - 布鲁伊

树莓派安装mysql

直接输入:
sudo apt install mysql-server
提示:

apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server-10.0
E: Package 'mysql-server' has no installation candidate

按照提示安装就好:
sudo apt install mariadb-server-10.0

Mysql安装成功后,默认的root用户密码为空,你可以使用以下命令来创建root用户的密码:

sudo mysqladmin -u root password "new_password"

用新密码登陆就可以了。
sudo mysql -u root -p