mysql rpm glibc_MySQL-client-5.6.36-1.linux_glibc2.5.x86_64.rpm安装详解

本文详细介绍了在CentOS6.8系统上如何卸载旧版MySQL并使用rpm方式安装MySQL 5.6.36,包括服务器和客户端的安装过程,以及启动服务、配置文件和修改默认密码的步骤。在安装过程中,重点关注了端口监听、配置文件的复制和设置以及启动服务后的检查。
摘要由CSDN通过智能技术生成

centos6.8已经安装了mysql,所以要卸载掉

查看命令 rpm -qa | grep mysql

注意:MySQL区分大小写grep mysql 和grep MySQL 是不一样的!!

卸载命令 yum remomve mysql(刚才查看到的安装包)

全文用的是绝对路径,所以不要在乎[root@master mysql]

我用的是CentOs6系统,首先下载MySql安装包,如下:

MySQL-client-5.6.36-1.linux_glibc2.5.x86_64.rpm

MySQL-server-5.6.36-1.linux_glibc2.5.x86_64.rpm

密码:qdsi

这个包的默认解压路径是/usr/share/mysql

[root@master ~]# cd /usr/local/mysql/

[root@master mysql]# ls

MySQL-client-5.6.36-1.linux_glibc2.5.x86_64.rpm

MySQL-server-5.6.36-1.linux_glibc2.5.x86_64.rpm

[root@master mysql]# rpm -ivh MySQL-server-5.6.36-1.linux_glibc2.5.x86_64.rpm//安装mysql-server

warning: MySQL-server-5.6.36-1.linux_glibc2.5.x86_64.rpm: Header V3 DSA/SHA1

Signature, key ID 5072e1f5: NOKEY

Preparing...

(100%########################################### [100%]

1:MySQL-server                                                       (

1%########################################### [100%]

2017-04-12 00:26:36 0 [Note] Ignoring --secure-file-priv value as server is running with --

bootstrap.

2017-04-12 00:26:36 0 [Note] /usr/sbin/mysqld (mysqld 5.6.36) starting as process 8502 ...

2017-04-12 00:26:36 8502 [Note] InnoDB: Using atomics to ref count buffer pool pages

2017-04-12 00:26:36 8502 [Note] InnoDB: The InnoDB memory heap is disabled

2017-04-12 00:26:36 8502 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins

2017-04-12 00:26:36 8502 [Note] InnoDB: Memory barrier is not used

2017-04-12 00:26:36 8502 [Note] InnoDB: Compressed tables use zlib 1.2.3

2017-04-12 00:26:36 8502 [Note] InnoDB: Using Linux native AIO

2017-04-12 00:26:36 8502 [Note] InnoDB: Not using CPU crc32 instructions

2017-04-12 00:26:36 8502 [Note] InnoDB: Initializing buffer pool, size = 128.0M

2017-04-12 00:26:36 8502 [Note] InnoDB: Completed initialization of buffer pool

2017-04-12 00:26:36 8502 [Note] InnoDB: The first specified data file ./ibdata1 did not

exist: a new database to be created!

2017-04-12 00:26:36 8502 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB

2017-04-12 00:26:36 8502 [Note] InnoD

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值