欢迎您访问365答案网,请分享给你的朋友!
生活常识 学习资料

mysql部署hive(一)

时间:2023-07-29

一、配置mysql
先安装mysql
wget http://dev.MYSQL.com/get/MYSQL57-community-release-el7-8.noarch.rpm
yum localinstall MYSQL57-community-release-el7-8.noarch.rpm
yum repolist enabled | grep “mysql.-community.
yum install mysql-community-server

报错信息
‘’’
warning: /var/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-libs-compat-5.7.37-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

The GPG keys listed for the “MySQL 5.7 Community Server” repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

Failing package is: mysql-community-libs-compat-5.7.37-1.el7.x86_64
‘’’
需要运行
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022

设置开机启动

[root@bigdata01 soft]# systemctl sta

Copyright © 2016-2020 www.365daan.com All Rights Reserved. 365答案网 版权所有 备案号:

部分内容来自互联网,版权归原作者所有,如有冒犯请联系我们,我们将在三个工作时内妥善处理。