当前位置:网站首页>[linux]centos 7 reports an error when installing MySQL "no package MySQL server available" no package ZABBIX server MySQL available
[linux]centos 7 reports an error when installing MySQL "no package MySQL server available" no package ZABBIX server MySQL available
2022-07-03 17:53:00 【Leon-zy】
scene :
stay CENTOS 7.5、7.7、7.9 Separate installation in environment MSYQL database , Or installation zabbix You need to install zabbix-server-mysql when , Report errors .
The content is :“No package mysql-server available“ “No package zabbix-server-mysql available“
reason :
CentOS7 with MariaDB instead of MySQL,MariaDB and MySQL It's also Kaiyuan's database .
Solution :
have access to yum -y install mariadb-server mariadb Command to install , If this command still fails, use the following method :
You must first add mysql Community repo By entering the command ( Version customization , The intranet server can download by itself rpm The package is copied into the server for use rpm -ivh …rpm Install first ):
sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
Finally use something like installation MySQL The usual way to install mysql:
yum install mysql mysql-server mysql-libs mysql-server
边栏推荐
- Golang unit test, mock test and benchmark test
- Research Report on competitive strategy Outlook Analysis and investment strategic planning of China's smart home equipment industry, 2022-2028
- 互联网医院HIS管理平台源码,在线问诊,预约挂号 智慧医院小程序源码
- Leetcode Valentine's Day Special - looking for a single dog
- POM in idea XML graying solution
- 1164 Good in C
- Investigation on the operation prospect of the global and Chinese Anti enkephalinase market and analysis report on the investment strategy of the 14th five year plan 2022-2028
- [combinatorics] recursive equation (the non-homogeneous part is an exponential function and the bottom is the characteristic root | example of finding a special solution)
- STM32实现74HC595控制
- Research Report on investment trends and development planning of China's thermal insulation material industry, 2022-2028
猜你喜欢
QT learning diary 9 - dialog box
PHP MySQL create database
Analysis report on production and marketing demand and investment forecast of China's PVC industry from 2021 to 2026
[combinatorics] generating function (summation property)
Draw some simple graphics with MFC
STM32实现74HC595控制
vs2013已阻止安装程序,需安装IE10
Internet Hospital his Management Platform source, online Inquiry, appointment Registration Smart Hospital Small program source
How to read the source code [debug and observe the source code]
TensorBoard快速入门(Pytorch使用TensorBoard)
随机推荐
Investigation on the operation prospect of the global and Chinese Anti enkephalinase market and analysis report on the investment strategy of the 14th five year plan 2022-2028
SSL / bio pour OpenSSL Get FD
A. Berland Poker &1000【简单数学思维】
Postfix 技巧和故障排除命令
BFS - topology sort
QT learning diary 9 - dialog box
Internet hospital his management platform source code, online consultation, appointment registration smart hospital applet source code
Talk about the design and implementation logic of payment process
Micro service component sentinel console call
Leetcode 108 converts an ordered array into a binary search tree -- recursive method
TCP congestion control details | 3 design space
MinGW compile boost library
Kotlin的协程:上下文
Assembly for unloading Loadfrom() loaded assembly - unloading the assembly loaded with assembly LoadFrom()
Comparison of kotlin collaboration + retro build network request schemes
A. Odd Selection【BruteForce】
Applet setting multi account debugging
Implementation of Tetris in C language
Tensorboard quick start (pytoch uses tensorboard)
[set theory] order relation: summary (partial order relation | partial order set | comparable | strictly less than | covering | hasto | total order relation | quasi order relation | partial order rela