当前位置:网站首页>MySQL官网8.0.17 安装教程(适合离线安装)
MySQL官网8.0.17 安装教程(适合离线安装)
2022-07-31 05:19:00 【wdhqwe520】
系统环境: Centos 7.6
数据库版本: Server version: 8.0.17 MySQL
关闭selinux和 防火墙
下载依赖包: yum install -y net-tools
卸载系统初始自带的MariaDB
#yum remove -y mariadb*
1、浏览器搜索MySQL
2、导航栏点击下载
3、下拉找到社区版
4、下载包含比较全的包
或者直接下载我提供的链接:
wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.17-1.el7.x86_64.rpm-bundle.tar
再或者用MySQL 5.7版本也适合该环境
wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.27-1.el7.x86_64.rpm-bundle.tar
5、下载完成后,上传并解压包
6、安装顺序依次安装
1、 rpm -ivh mysql-community-common-8.0.17-1.el7.x86_64.rpm
2、 rpm -ivh mysql-community-libs-8.0.17-1.el7.x86_64.rpm
3、 rpm -ivh mysql-community-client-8.0.17-1.el7.x86_64.rpm
4、 rpm -ivh mysql-community-server-8.0.17-1.el7.x86_64.rpm
7、打开/etc/my.cnf文件设置免密码登录
8、保存重启MySQL
9、登陆
边栏推荐
猜你喜欢
随机推荐
Webrtc从理论到实践一:初识
Log jar package conflict, and its solution
2022年软件测试现状最新报告
The content of the wangeditor editor is transferred to the background server for storage
cenos7安装cmake-3.22.2
Learn how to get a database connection with JDBC
alert弹框处理,div块处理,上传文件
Picture-in-Picture API in the browser
IDEA overview and installation and debugging
DOM操作-案例:切换背景图片
测试——用例篇
Pytorch learning notes 09 - multiple classification problem
螺旋矩阵Ⅱ
[Solved] ssh connection report: Bad owner or permissions on C:\\Users/XXX/.ssh/config
随机数,函数
离线安装activeMq
MySQL free installation download and configuration tutorial
简单计算器,单层循环输出乘法表,字符串方法的使用,格式化输出
Wlan实验(ENSP)
TCP与UDP协议的区别,以及TCP的三次握手和四次挥手