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

推荐订阅源

Cloudbric
Cloudbric
量子位
aimingoo的专栏
aimingoo的专栏
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
I
InfoQ
Jina AI
Jina AI
雷峰网
雷峰网
大猫的无限游戏
大猫的无限游戏
F
Full Disclosure
Vercel News
Vercel News
T
Tailwind CSS Blog
P
Proofpoint News Feed
G
Google Developers Blog
P
Privacy & Cybersecurity Law Blog
D
Docker
V
Vulnerabilities – Threatpost
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tenable Blog
K
Kaspersky official blog
Cisco Talos Blog
Cisco Talos Blog
D
DataBreaches.Net
The Hacker News
The Hacker News
J
Java Code Geeks
Hacker News: Ask HN
Hacker News: Ask HN
G
GRAHAM CLULEY
PCI Perspectives
PCI Perspectives
C
Cybersecurity and Infrastructure Security Agency CISA
T
Threatpost
Forbes - Security
Forbes - Security
Microsoft Security Blog
Microsoft Security Blog
C
Check Point Blog
F
Fortinet All Blogs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Latest news
Latest news
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Webroot Blog
Webroot Blog
L
LINUX DO - 最新话题
S
Secure Thoughts
Google DeepMind News
Google DeepMind News
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
AI
AI
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed

记录生活,精彩一刻 - 数据库

Typecho 数据库字符集导致Emoji表情评论报错 Typecho 网站更换域名操作指南 Typecho更换新域名教程 数据库篇
宝塔面板强制安装 MySQL8.0
Huo · 2024-12-06 · via 记录生活,精彩一刻 - 数据库

MySQL8.0 对比以往的版本有了很大的提升,但是要求的服务器配置也就变得越来越高。对于低配置服务器,在宝塔面板进行安装时,总会出现“至少需要 2 个 CPU 核心才能安装”或者“至少需要 XXX 内存才能安装”。但我们又想要体验 MySQL8.0 新版本,这时候该怎么办呢?只有强制在宝塔面板中安装 MySQL8.0。

低配置服务器在宝塔面板中安装 MySQL8.0 方法

远程连接到服务器中,并执行下面代码:

cd /www/server/panel/install

编译安装 MySQL8.0,请在远程控制台中输入下面脚本:

SHELL

wget http://download.bt.cn/install/0/mysql.sh;
bash mysql.sh install 8.0

极速安装 MySQL8.0,请在远程控制台中输入下面脚本:

SHELL

wget http://download.bt.cn/install/1/mysql.sh;
bash mysql.sh install 8.0

将 8.0 替换成你要安装的 mysql 版本。

请注意:如果你已经安装了数据库,上面的命令会卸载删除当前数据库及数据

这样低内存服务器在宝塔面板安装 Mysql8.0 就实现了!