转载博主:https://blog.csdn.net/z13615480737/article/details/78906598
转载博主最新:https://blog.csdn.net/weixin_38103993/article/details/134328637
参考:https://blog.csdn.net/strivew/article/details/120905980
yum -y install mysql-server 报错:
Removing mariadb-libs.x86_64 1:5.5.56-2.el7 - u due to obsoletes from mysql-community-libs.x86_64 0:5.6.38-2.el7 - u --> Restarting Dependency Resolution with new changes. --> Running transaction check ---> Package mariadb.x86_64 1:5.5.56-2.el7 will be an update ---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be an update ---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be an update --> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64 --> Finished Dependency Resolution Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda) Requires: mariadb-server Removing: 1:mariadb-server-5.5.52-1.el7.x86_64 (@anaconda) mariadb-server = 1:5.5.52-1.el7 Obsoleted By: mysql-community-server-5.6.38-2.el7.x86_64 (mysql56-community) Not found Updated By: 1:mariadb-server-5.5.56-2.el7.x86_64 (base) mariadb-server = 1:5.5.56-2.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
报错原因 :软件包依赖 mariadb组件
解决方案:
yum -y remove mariadb-libs
运行
yum install mysql-community-server
配置mysql
service mysqld restart
mysql -u root
mysql> set password for 'root'@'localhost' =password('your password');
转载博主:https://www.cnblogs.com/xuyatao/p/7998057.html
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· .NET Core 中如何实现缓存的预热?
· 三行代码完成国际化适配,妙~啊~
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?