当前位置:网站首页>[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
边栏推荐
- PHP MySQL where clause
- Baiwen.com 7 days Internet of things smart home learning experience punch in the next day
- Research Report on market demand and investment planning for the development of China's office chair industry, 2022-2028
- OpenSSL的SSL/BIO_get_fd
- MySQL has been stopped in the configuration interface during installation
- Inheritance of ES6 class
- PHP processing - watermark images (text, etc.)
- Gear2021 monthly update - December
- PHP MySQL inserts data
- Servlet specification Part II
猜你喜欢

1147_ Makefile learning_ Target files and dependent files in makefile

一入“远程”终不悔,几人欢喜几人愁。| 社区征文

MySQL grouping query

Interviewer: why is the value nil not equal to nil?

POM in idea XML graying solution

Getting started with deops

面试官:值为 nil 为什么不等于 nil ?

Embedded-c language-7

Leetcode 108 converts an ordered array into a binary search tree -- recursive method

STM32 realizes 74HC595 control
随机推荐
Golang unit test, mock test and benchmark test
Automata and automatic line of non-standard design
SDNUOJ1015
Write a program to process a list container of string type. Find a special value in the container 9.27: and delete it if found. Rewrite the above procedure with deque container.
分布式的任务分发框架-Gearman
PHP processing - watermark images (text, etc.)
How to read the source code [debug and observe the source code]
Implementation of Tetris in C language
VM11289 WAService. js:2 Do not have __ e handler in component:
Research Report on market demand and investment planning for the development of China's office chair industry, 2022-2028
Loop through JSON object list
小程序 多tab 多swiper + 每个tab分页
Life perception 1
PHP MySQL preprocessing statement
Notes on problems -- watching videos on edge will make the screen green
解决Zabbix用snmp监控网络流量不准的问题
1146_ SiCp learning notes_ exponentiation
Postfix tips and troubleshooting commands
link preload prefetch
Gear2021 monthly update - December