#      /usr/local/mysql/scripts/mysql_install_db \
> --defaults-file=/etc/my.cnf \
> --basedir=/usr/local/mysql \
> --datadir=/var/mysql/data \
> --user=mysql
Installing MySQL system tables...2015-12-20 00:00:55 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.6.25) starting as process 5720 ...
2015-12-20 00:00:55 5720 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-12-20 00:00:55 5720 [Note] InnoDB: The InnoDB memory heap is disabled
2015-12-20 00:00:55 5720 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-12-20 00:00:55 5720 [Note] InnoDB: Memory barrier is not used
2015-12-20 00:00:55 5720 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-12-20 00:00:55 5720 [Note] InnoDB: Using CPU crc32 instructions
2015-12-20 00:00:55 5720 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-12-20 00:00:55 5720 [Note] InnoDB: Completed initialization of buffer pool
2015-12-20 00:00:55 5720 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2015-12-20 00:00:55 5720 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2015-12-20 00:00:55 5720 [Note] InnoDB: Database physically writes the file full: wait...
2015-12-20 00:00:55 5720 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2015-12-20 00:00:56 5720 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2015-12-20 00:00:57 5720 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2015-12-20 00:00:57 5720 [Warning] InnoDB: New log files created, LSN=45781
2015-12-20 00:00:57 5720 [Note] InnoDB: Doublewrite buffer not found: creating new
2015-12-20 00:00:57 5720 [Note] InnoDB: Doublewrite buffer created
2015-12-20 00:00:57 5720 [Note] InnoDB: 128 rollback segment(s) are active.
2015-12-20 00:00:57 5720 [Warning] InnoDB: Creating foreign key constraint system tables.
2015-12-20 00:00:57 5720 [Note] InnoDB: Foreign key constraint system tables created
2015-12-20 00:00:57 5720 [Note] InnoDB: Creating tablespace and datafile system tables.
2015-12-20 00:00:57 5720 [Note] InnoDB: Tablespace and datafile system tables created.
2015-12-20 00:00:57 5720 [Note] InnoDB: Waiting for purge to start
2015-12-20 00:00:57 5720 [Note] InnoDB: 5.6.25 started; log sequence number 0
2015-12-20 00:00:58 5720 [Note] Binlog end
2015-12-20 00:00:58 5720 [Note] InnoDB: FTS optimize thread exiting.
2015-12-20 00:00:58 5720 [Note] InnoDB: Starting shutdown...
2015-12-20 00:01:00 5720 [Note] InnoDB: Shutdown completed; log sequence number 1625977
OK Filling help tables...2015-12-20 00:01:00 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.6.25) starting as process 5742 ...
2015-12-20 00:01:00 5742 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-12-20 00:01:00 5742 [Note] InnoDB: The InnoDB memory heap is disabled
2015-12-20 00:01:00 5742 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-12-20 00:01:00 5742 [Note] InnoDB: Memory barrier is not used
2015-12-20 00:01:00 5742 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-12-20 00:01:00 5742 [Note] InnoDB: Using CPU crc32 instructions
2015-12-20 00:01:00 5742 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-12-20 00:01:00 5742 [Note] InnoDB: Completed initialization of buffer pool
2015-12-20 00:01:00 5742 [Note] InnoDB: Highest supported file format is Barracuda.
2015-12-20 00:01:00 5742 [Note] InnoDB: 128 rollback segment(s) are active.
2015-12-20 00:01:00 5742 [Note] InnoDB: Waiting for purge to start
2015-12-20 00:01:00 5742 [Note] InnoDB: 5.6.25 started; log sequence number 1625977
2015-12-20 00:01:00 5742 [Note] Binlog end
2015-12-20 00:01:00 5742 [Note] InnoDB: FTS optimize thread exiting.
2015-12-20 00:01:00 5742 [Note] InnoDB: Starting shutdown...
2015-12-20 00:01:01 5742 [Note] InnoDB: Shutdown completed; log sequence number 1625987
OK To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands: /usr/local/mysql/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql/bin/mysqladmin -u root -h r6 password 'new-password' Alternatively you can run: /usr/local/mysql/bin/mysql_secure_installation which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd . ; /usr/local/mysql/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd mysql-test ; perl mysql-test-run.pl 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 WARNING: Found existing config file /usr/local/mysql/my.cnf on the system.
Because this file might be in use, it was not replaced,
but was used in bootstrap (unless you used --defaults-file)
and when you later start the server.
The new default config file was created as /usr/local/mysql/my-new.cnf,
please compare it with your file and take the changes you need. WARNING: Default config file /etc/my.cnf exists on the system
This file will be read by default by the MySQL server
If you do not want to use this, either remove it, or use the
--defaults-file argument to mysqld_safe when starting the server

mysql_install_db 运行结果的更多相关文章

  1. Centos6 源代码部署MySQL5.6

    mysql从5.5版本号開始,不再使用./configure编译,而是使用cmake编译器,详细的cmake编译參数能够參考mysql官网文档(※ 很重要) http://dev.mysql.com/ ...

  2. centos 安装MySQL全过程

    1.到chinaunix下载mysql 下载地址: http://download.chinaunix.net/download/0008000/7159.shtml 2.上传到CentOS服务器 本 ...

  3. CentOS Install NMP

    目录 Installation steps of the Nginx install run 默认安装路径 指定安装目录 Installation steps of the MySQL 下载源码包 解 ...

  4. 运行安装mysql 报错 [root@localhost mysql-mult]# ./scripts/mysql_install_db  --defaults-file=conf/3306my.cnf FATAL ERROR: please install the following Perl modules before executing ./scripts/mysql_install_

    运行安装mysql 报错 [root@localhost mysql-mult]# ./scripts/mysql_install_db  --defaults-file=conf/3306my.cn ...

  5. Docker笔记一:基于Docker容器构建并运行 nginx + php + mysql ( mariadb ) 服务环境

    首先为什么要自己编写Dockerfile来构建 nginx.php.mariadb这三个镜像呢?一是希望更深入了解Dockerfile的使用,也就能初步了解docker镜像是如何被构建的:二是希望将来 ...

  6. MySQL数据库的初始化mysql_install_db 【基础巩固】

    一.mysql_install_db说明 当MySQL的系统库(mysql系统库)发生故障或需要新加一个mysql实例时,需要初始化mysql数据库. 需要使用的命令:/usr/local/mysql ...

  7. 分析MariaDB初始化脚本mysql_install_db

    在初始化MySQL的过程中经常会碰到各种问题,如 FATAL ERROR: Could not find ./bin/my_print_defaults ERROR: Can't create/wri ...

  8. mysql脚本mysql_safe解释、mysql.sock文件、mysql_install_db

    1.首先解释下,启动mysql时为何会调用mysql_safe脚本来启动mysql [root@localhost ~]# /etc/init.d/mysqld start 正在启动 mysqld: ...

  9. mysql_install_db出错,Unable to lock /usr/local/mysql/var/ibdata1, error: 11

    今天,在一台旧机器上编译一个新的Mysql,install时出了错: /usr/local/mysql_5615/scripts/mysql_install_db --user=mysql --bas ...

随机推荐

  1. 基于FPGA的超声波测距(一)

    硬件平台:CycloneII EP2C5Q208C8+DYP-ME007 1:超声波原理 DYP-ME007超声波测距模块可提供3cm--3.5m的非接触式距离感测功能,图1为DYP-ME007外观, ...

  2. Tim’s iT Blog

    vSphere 5.1 Lab – Nested ESXi 5.1x http://tsmith.co/2012/vsphere-5-1-lab-nested-esxi-5-1/ vSphere 5. ...

  3. 保密员(baomi)

    #include<iostream> #include<string> #include<stdio.h> #include<algorithm> #i ...

  4. Maven进行Mahout编程,使其兼容Hadoop2.2.0环境运行 (转)

    http://blog.csdn.net/u010967382/article/details/39209329 http://blog.csdn.net/fansy1990/article/deta ...

  5. 斯坦福《机器学习》Lesson1-3感想-------3、线性回归二

    从上一篇可知.在监督学习里最重要的就是确定假想函数h(θ),即通过使得代价函数J(θ)最小,从而确定h(θ). 上一篇通过梯度下降法求得J(θ)最小,这篇我们将使用矩阵的方法来解释. 1.普通最小二乘 ...

  6. Spring学习笔记二:注入方式

    转载请注明原文地址:http://www.cnblogs.com/ygj0930/p/6774608.html  我们说,IOC的实现方式是依赖注入,也就是把被依赖对象赋值到依赖对象的成员属性.怎么做 ...

  7. javascript用正則表達式检測username的合法性

    在用户登录.用户注冊时经常须要对username如邮箱.手机号进行校验,一般经常使用表达式. 以下整理对邮箱和手机号的表达式校验: function checkUser(){ var userName ...

  8. 不能添加重复的Contact到RecipientBox中

    不能添加重复的Contact到RecipientBox中 在开始添加的操作时,判断是否已在RecipientBox中,如果已经在返回值为null的TextView. 再根据TextView判断是否nu ...

  9. 【转】 mysql反引号的使用(防冲突)

    转载地址:http://blog.itechol.com/space.php?uid=33&do=blog&id=6681 1.mysql语句中 反引号 [`]作用: 避免表明.字段名 ...

  10. startActivityForResult的使用和用法

    startActivityForResult的使用和用法 startActivityForResult 和 onActivityResult在activity间传递数据 AndroidManifest ...