源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

CentOS7.2虚拟机上安装MySQL 5.6.32的教程

  • 时间:2021-11-05 00:10 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:CentOS7.2虚拟机上安装MySQL 5.6.32的教程
[b]1、MySQL 5.6.32 64位安装包下载[/b] 在官网[url=http://dev.mysql.com/downloads/mysql/5.6.html]http://dev.mysql.com/downloads/mysql/5.6.html#[/url]中使用迅雷下载MySQL 5.6.32 64位安装包下载: [img]http://files.jb51.net/file_images/article/201608/2016830113945965.png?201673011404[/img] [url=http://pan.baidu.com/s/1pLCiAmf]http://pan.baidu.com/s/1pLCiAmf[/url] [b]2、把下载文件通过SecureFX传递到/usr/local/src/目录中(虚拟主机CentOS7.2的IP为:192.168.1.11)[/b] [img]http://files.jb51.net/file_images/article/201608/2016830114039515.png?2016730114051[/img] [b]3、解压文件.[/b] cd /usr/local/src/ [root@localhost src]# tar xvf MySQL-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle.tar MySQL-shared-compat-5.6.32-1.linux_glibc2.5.x86_64.rpm MySQL-client-5.6.32-1.linux_glibc2.5.x86_64.rpm MySQL-shared-5.6.32-1.linux_glibc2.5.x86_64.rpm MySQL-server-5.6.32-1.linux_glibc2.5.x86_64.rpm MySQL-devel-5.6.32-1.linux_glibc2.5.x86_64.rpm MySQL-test-5.6.32-1.linux_glibc2.5.x86_64.rpm MySQL-embedded-5.6.32-1.linux_glibc2.5.x86_64.rpm 4、查看系统是否安装了MySQL,使用命令: [root@localhost src]# rpm -qa | grep mysql mysql-connector-odbc-5.2.5-6.el7.x86_64 卸载已安装的MySQL,卸载mysql命令如下: [root@localhost src]# rpm -e --nodeps mysql-connector-odbc-5.2.5-6.el7.x86_64 将/var/lib/mysql文件夹下的所有文件都删除干净。 5、使用如下命令安装Server和Client: [root@localhost src]# rpm -ivh MySQL-server-5.6.32-1.linux_glibc2.5.x86_64.rpm [root@localhost src]# rpm -ivh MySQL-client-5.6.32-1.linux_glibc2.5.x86_64.rpm 6、使用如下命令查看当前mysql的状态:
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部