Mysql 5.6安装笔记
来源:互联网 发布:作死的员工知乎 编辑:程序博客网 时间:2024/06/08 18:22
记录一下Mysql的安装,首先我这里得版本是MySQL-5.6.25-1.el6.x86_64.rpm-bundle.tar,针对这个进行解压
#解压tar -xf MySQL-5.6.25-1.el6.x86_64.rpm-bundle.tar#检测是否存在老版本的Mysqlrpm -qa | grep -i mysql#一般默认是存在的,如果不存在这一步可以忽略,比如我这的版本是mysql-libs-5.1.73-3.el6_5.x86_64rpm -e --nodeps mysql-libs-5.1.73-3.el6_5.x86_64#删除完成后进行安装#针对解压出来的包进行安装,大致只用安装如下包rpm -ivh MySQL-client-5.6.25-1.el6.x86_64.rpmrpm -ivh MySQL-devel-5.6.25-1.el6.x86_64.rpmrpm -ivh MySQL-server-5.6.25-1.el6.x86_64.rpm
#安装完MySQL-server之后会出现一下类容A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER !You will find that password in '/root/.mysql_secret'.You must change that password on your first connect,no other statement but 'SET PASSWORD' will be accepted.See the manual for the semantics of the 'password expired' flag.Also, the account for the anonymous user has been removed.In addition, you can run:/usr/bin/mysql_secure_installationwhich will also give you the option of removing the test database.This is strongly recommended for production servers.See the manual for more instructions.Please report any problems at http://bugs.mysql.com/The latest information about MySQL is available on the web at http://www.mysql.comSupport MySQL by buying support/licenses at http://shop.mysql.comNew default config file was created as /usr/my.cnf andwill be used by default by the server when you start it.You may edit this file to change server settings
第一次进入时需要修改密码,通过初始密码进入之后可以通过这条语句进行设置密码 set password =password('slave01_mysql‘);
以上大致是一些介绍的内容,在5.6Mysql的安装的root密码是随机生成的,通过上面的内容得知Mysql root密码是在这个里面'/root/.mysql_secret'.
0 0
- MySQL 5.6安装笔记
- Mysql 5.6安装笔记
- MySQL笔记:MySQL安装
- mysql安装笔记
- FC7安装MySQL笔记
- MySQL安装笔记
- mysql安装笔记
- 安装配置MySQL笔记
- mysql安装笔记
- MySQL安装笔记
- MySQL编译安装笔记
- hive+mysql安装笔记
- mysql安装笔记0822
- linux 安装mysql笔记
- centos 安装mysql 笔记
- mysql源码安装笔记
- 源码安装mysql笔记
- mysql安装笔记
- 怎样取消已经被内核占用的按键驱动中断号
- http form get post本质区别
- 各种排序算法比较(1):稳定性
- 径向基神经网络(实例故障分类)
- 建造SAP Fiori部署
- Mysql 5.6安装笔记
- android jxl OOM内存溢出问题解决(适用大部分内存溢出)
- HDU_1548_AStrangeLift
- DMA和cache的一致性
- C++ 深入理解 虚继承、多重继承和直接继承
- 【小技巧】Android返回按钮的监听器
- getcher getch getched用法和缓冲区的概念
- 各种排序算法比较(2):时间复杂度,空间复杂度
- CSS 哪些属性默认会继承, 哪些不会继承