Linux安装MySQL-server-5.6.22日志

最近在学习Mysql安装,看了好多网上的资料,说了好多第一次用root登陆的方式,都没有成功。

仔细查看了一下安装日志,其实人家是给创建了一个随机密码,并且有提示如何修改密码,完全没那么麻烦。

[[email protected] src]# rpm -ivh MySQL-server-5.6.22-1.rhel5.i386.rpm

Preparing...                ########################################### [100%]

1:MySQL-server           ########################################### [100%]

2015-01-29 09:51:25 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

2015-01-29 09:51:25 28245 [Note] InnoDB: Using mutexes to ref count buffer pool pages

2015-01-29 09:51:25 28245 [Note] InnoDB: The InnoDB memory heap is disabled

2015-01-29 09:51:25 28245 [Note] InnoDB: Mutexes and rw_locks use InnoDB‘s own implementation

2015-01-29 09:51:25 28245 [Note] InnoDB: Memory barrier is not used

2015-01-29 09:51:25 28245 [Note] InnoDB: Compressed tables use zlib 1.2.3

2015-01-29 09:51:25 28245 [Note] InnoDB: Using Linux native AIO

2015-01-29 09:51:25 28245 [Note] InnoDB: Not using CPU crc32 instructions

2015-01-29 09:51:25 28245 [Note] InnoDB: Initializing buffer pool, size = 128.0M

2015-01-29 09:51:25 28245 [Note] InnoDB: Completed initialization of buffer pool

2015-01-29 09:51:25 28245 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!

2015-01-29 09:51:25 28245 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB

2015-01-29 09:51:25 28245 [Note] InnoDB: Database physically writes the file full: wait...

2015-01-29 09:51:25 28245 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB

2015-01-29 09:51:25 28245 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB

2015-01-29 09:51:26 28245 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0

2015-01-29 09:51:26 28245 [Warning] InnoDB: New log files created, LSN=45781

2015-01-29 09:51:26 28245 [Note] InnoDB: Doublewrite buffer not found: creating new

2015-01-29 09:51:26 28245 [Note] InnoDB: Doublewrite buffer created

2015-01-29 09:51:26 28245 [Note] InnoDB: 128 rollback segment(s) are active.

2015-01-29 09:51:26 28245 [Warning] InnoDB: Creating foreign key constraint system tables.

2015-01-29 09:51:26 28245 [Note] InnoDB: Foreign key constraint system tables created

2015-01-29 09:51:26 28245 [Note] InnoDB: Creating tablespace and datafile system tables.

2015-01-29 09:51:26 28245 [Note] InnoDB: Tablespace and datafile system tables created.

2015-01-29 09:51:26 28245 [Note] InnoDB: Waiting for purge to start

2015-01-29 09:51:26 28245 [Note] InnoDB: 5.6.22 started; log sequence number 0

A random root password has been set. You will find it in ‘/root/.mysql_secret‘.

2015-01-29 09:51:26 28245 [Note] Binlog end

2015-01-29 09:51:26 28245 [Note] InnoDB: FTS optimize thread exiting.

2015-01-29 09:51:26 28245 [Note] InnoDB: Starting shutdown...

2015-01-29 09:51:28 28245 [Note] InnoDB: Shutdown completed; log sequence number 1625977

2015-01-29 09:51:28 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

2015-01-29 09:51:28 28267 [Note] InnoDB: Using mutexes to ref count buffer pool pages

2015-01-29 09:51:28 28267 [Note] InnoDB: The InnoDB memory heap is disabled

2015-01-29 09:51:28 28267 [Note] InnoDB: Mutexes and rw_locks use InnoDB‘s own implementation

2015-01-29 09:51:28 28267 [Note] InnoDB: Memory barrier is not used

2015-01-29 09:51:28 28267 [Note] InnoDB: Compressed tables use zlib 1.2.3

2015-01-29 09:51:28 28267 [Note] InnoDB: Using Linux native AIO

2015-01-29 09:51:28 28267 [Note] InnoDB: Not using CPU crc32 instructions

2015-01-29 09:51:28 28267 [Note] InnoDB: Initializing buffer pool, size = 128.0M

2015-01-29 09:51:28 28267 [Note] InnoDB: Completed initialization of buffer pool

2015-01-29 09:51:28 28267 [Note] InnoDB: Highest supported file format is Barracuda.

2015-01-29 09:51:28 28267 [Note] InnoDB: 128 rollback segment(s) are active.

2015-01-29 09:51:28 28267 [Note] InnoDB: 5.6.22 started; log sequence number 1625977

2015-01-29 09:51:28 28267 [Note] Binlog end

2015-01-29 09:51:28 28267 [Note] InnoDB: FTS optimize thread exiting.

2015-01-29 09:51:28 28267 [Note] InnoDB: Starting shutdown...

2015-01-29 09:51:30 28267 [Note] InnoDB: Shutdown completed; log sequence number 1625987

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_installation

which 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.com

Support MySQL by buying support/licenses at http://shop.mysql.com

New default config file was created as /usr/my.cnf and

will be used by default by the server when you start it.

You may edit this file to change server settings

时间: 2024-08-10 02:10:51

Linux安装MySQL-server-5.6.22日志的相关文章

ubuntu 14.04 安装mysql server初级教程

序,mysql数据库是开源的,被大多数企业所使用 目录 一.apt-get install 软件安装原理剖析二.安装mysql server三.配置和管理msyql 一.apt-get install 软件安装原理剖析 /etc/apt/sources.list 这个文件很重要,里面放了一些软件资源的库地址,我们每次利用apt-get install命令安装软件时,都是在读取这个文件. Ubuntu 软件仓库被分为四个部分:main(主要的), restricted(受限的), universe

Linux安装mysql教程

Linux安装mysql教程 1,设置安装路径 安装文件下载目录:/data/softwareMysql目录安装位置:/usr/local/mysql数据库保存位置:/data/mysql日志保存位置:/data/log/mysql 2,下载Mysql 在官网:http://dev.mysql.com/downloads/mysql/ 中,选择以下版本的mysql下载: 执行如下命名:#mkdir /data/software#cd /data/software --下载安装包 --建议:在wi

Linux安装mysql

——@梁WP 摘要:Linux安装mysql. 一.下载mysql 1.在百度搜索mysql,看到其中有一条结果是带有MySQL Downloads字样的,点击进入mysql的官网. 2.进入mysql官网之后,在下面能见到MySQL Community Edition (GPL),点击下面的链接,就会进入下载列表. 3.在下载列表找到MySQL Community Server,点击下面的链接,会进入产品选择页面. 4.选择对应的操作系统,然后选择合适的版本(.gz格式),截图选了Linux 

linux安装MySQL记录

目录 linux安装MySQL记录 1. 在根目录下创建文件夹/software和数据库数据文件/data/mysql 2. 从官网下载相应的MySQL版本 3. 解压并移动到/software目录下 4. 创建mysql用户组和mysql用户 5. 关联myql用户到mysql用户组中 6. 更改文件夹的权限 7. 安装libaio依赖包 8. 初始化mysql命令 9. 修改Mysql配置文件 10. 启动MySQL服务 11. 登录mysql 12. 修改mysql的登录密码 13. My

安装Mysql Server

添加系统以外源: http://kernal.blog.51cto.com/8136890/1426095 [1]Install Mysql Server # yum -y install mysql-server # /etc/rc.d/init.d/mysqld start Initializing MySQL database:  WARNING: The host 'webserver1.lisys.cn' could not be looked up with resolveip. T

hive0.13.1安装-mysql server作为hive的metastore

hive0.13.1在hadoop2.4.1伪分布式部署上安装过程 环境:redhat enterprice 6.5 +hadoop2.4.1+hive0.13.1+mysql单节点伪分布式部署 相关网址: hive官网安装指导:https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-InstallingHivefromaStableRelease hive之metastore的三种保存方式:h

CentOS 7 安装MySql Server 5.6

1. 安装MySql Server 在/etc/yum.repos.d/目录下添加以下文件mysql-community.repo文件,内容如下: 1 [mysql56-community] 2 name=MySQL 5.6 Community Server 3 baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/5/$basearch/ 4 enabled=1 5 gpgcheck=0 执行yum install mysql-com

linux安装mysql、tomcat和jdk1.7、Android Studio

linux安装mysql.tomcat和jdk. 一.安装mysql $ sudo apt-get install mysql-server 安装mysql 二.安装JDK 下载jdk 到达/usr/local $ sudo mkdir java 建立一个java文件夹 (注:sudo 请求root权限 ) $ sudo mv jdk1.7.0_67 /usr/local/java 将解压的文件移到刚刚建好的文件夹 $ sudo vim /etc/profile 可能vim编辑器没有安装 因此执

Linux 安装MySql启动Can't locate Data/Dumper.pm in @INC

通过RPM包CentOS7 安装MySQL的时候提示“Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/mysql_install_db l

Linux安装mysql以及安装时踩下的坑

安装: 检测是否已经安装了mysql rpm -qa | grep mysql 如果已经安装了,将其卸载,如: rpm -e --nodeps  mysql-libs-5.1.71-1.el6.x86_64 安装mysql 1.mkdir /usr/local/src/mysql 2.cd /usr/local/src/mysql 3.tar -xvf sMySQL-5.6.22-1.el6.i686.rpm-bundle.tar 安装server rpm -ivh MySQL-server-5