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

推荐订阅源

V
Visual Studio Blog
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗
The Cloudflare Blog
D
DataBreaches.Net
J
Java Code Geeks
G
Google Developers Blog
L
LangChain Blog
N
Netflix TechBlog - Medium
Stack Overflow Blog
Stack Overflow Blog
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
小众软件
小众软件
量子位
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
博客园_首页
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
腾讯CDC

博客园 - 布鲁伊

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