当前位置:网站首页>[LINUX]CentOS 7 安装MYSQL时报错“No package mysql-server available“No package zabbix-server-mysql availabl
[LINUX]CentOS 7 安装MYSQL时报错“No package mysql-server available“No package zabbix-server-mysql availabl
2022-07-03 17:49:00 【Leon-zy】
情景:
在CENTOS 7.5、7.7、7.9环境下单独安装MSYQL数据库,或者是安装zabbix中需要安装 zabbix-server-mysql时,报错。
内容为:“No package mysql-server available“ “No package zabbix-server-mysql available“
原因:
CentOS7带有MariaDB而不是MySQL,MariaDB和MySQL一样也是开元的数据库。
解决方案:
可以使用yum -y install mariadb-server mariadb命令安装,如果这条命令还是不行就使用下面的方法:
首先必须添加mysql社区repo通过输入命令(版本自定,内网服务器可以自行下载rpm包拷贝进服务器使用rpm -ivh …rpm安装先):
sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
最后使用像安装MySQL的常规方法一样安装mysql:
yum install mysql mysql-server mysql-libs mysql-server
边栏推荐
- Micro service component sentinel console call
- The gbase 8A database does not support the DB2 function value (column_name, 0) cluster syntax
- [combinatorics] recursive equation (the non-homogeneous part is an exponential function and the bottom is the characteristic root | example of finding a special solution)
- Is AI too slow to design pictures and draw illustrations? 3 sets of practical brushes to save you
- Applet with multiple tabs and Swipers + paging of each tab
- Where is the database account used when running SQL tasks in data warehouse tasks configured
- Postfix 技巧和故障排除命令
- Design limitations of structure type (struct)
- Draw some simple graphics with MFC
- Kubernetes resource object introduction and common commands (4)
猜你喜欢

Type conversion, variable

IntelliJ 2021.3 short command line when running applications

Internet Hospital his Management Platform source, online Inquiry, appointment Registration Smart Hospital Small program source
![[UE4] brush Arctic pack high quality Arctic terrain pack](/img/e7/bc86bd8450b0b2bdec8980a2aa1a10.jpg)
[UE4] brush Arctic pack high quality Arctic terrain pack

Kubernetes resource object introduction and common commands (III)

Select 3 fcpx plug-ins. Come and see if you like them

Hongmeng third training

QT learning diary 9 - dialog box

Research Report on competitive strategy Outlook Analysis and investment strategic planning of China's smart home equipment industry, 2022-2028

聊聊支付流程的设计与实现逻辑
随机推荐
远程办公工具分享|社区征文
Implementation of Tetris in C language
Where is the monitoring page of RDS database?
STM32 realizes 74HC595 control
Wechat applet for the first time
PUT vs. POST for Uploading Files - RESTful API to be Built Using Zend Framework
毕业总结
How to enforce parameters in PowerShell- How do I make parameters mandatory in PowerShell?
Detailed explanation of common network attacks
POM in idea XML graying solution
Life perception 1
Applet with multiple tabs and Swipers + paging of each tab
Assembly for unloading Loadfrom() loaded assembly - unloading the assembly loaded with assembly LoadFrom()
[combinatorics] recursive equation (special solution form | special solution solving method | special solution example)
TCP congestion control details | 3 design space
[combinatorics] generating function (shift property)
Graduation summary
Research Report on competitive strategy Outlook Analysis and investment strategic planning of China's smart home equipment industry, 2022-2028
Tensorboard quick start (pytoch uses tensorboard)
QT学习日记9——对话框