#      /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. android自己定义进度值可拖动的seekbar

    近期忙找实习,加上实验室在推新项目,须要学习新知识.所以非常长一段时间没去整理了官博客了,github也蛮久没更新.非常羞愧.接下来还是要坚持写. 今天就简单的写一下我在项目中用到的算自己定义seek ...

  2. Android 模仿QQ风格的 UI

    本文内容 环境 演示模仿QQ风格的界面 本文主要演示的是 UI,如何模仿 QQ 风格的界面.虽然这个 UI 跟现在的QQ空间有点差别,但是也能学到很多东西. 下载 Demo 环境 Windows 7 ...

  3. 电子商务 B2C 结构图【转载+整理】

    本文内容 商品展示 内容展示 订单确认 支付系统 用户中心 商品&促销 CRM 订单处理 WMS 采购管理 财务管理 报表管理 系统设置 WA系统   商品展示 按照 Ebay 内部分类,任何 ...

  4. Discuz常见小问题-如何安装模板,使用模板

    点击应用,获取更多插件 在模板页面中选择需要的类型(需要注册一个账号) 找好一个模板之后,点击安装应用(一般也会有演示) 安装完成之后可以在界面-风格管理中选择安装好的模板,选中新的模板,点击提交即可 ...

  5. SuperMap iDesktop之导入数据

    SuperMap作为一个平台软件有自己的数据格式,现要将ESRI的SHP数据导入到SuperMap的udb数据库中,可以完成导入,但也不得不说几点问题. 下面是ArcGIS中批量导入SHP的操作界面. ...

  6. Linux配置流程

    Linux中常用操作命令 http://www.cnblogs.com/laov/p/3541414.html#zhiling Linux下安装jdk并配置环境变量 http://jingyan.ba ...

  7. iOS 设置 UIWebView UserAgent

    NSString *userAgent = [[[UIWebView alloc] init] stringByEvaluatingJavaScriptFromString:@"naviga ...

  8. Linux shell中一些参数与变量简介

    linux中shell变量$#,$@,$0,$1,$2,$!,$$,$*,$-,$@......等很多个,很容易记错,这里再次整理一下,相关含义解释如下,并附上一个实践截图. 多看几次,多用几次,应该 ...

  9. 调用OpenCVSharp进行拍照

    一.核心代码: using OpenCvSharp; using System; using System.Collections.Generic; using System.IO; using Sy ...

  10. word2013总是出现未响应卡一下如何解决?

    最近在记笔记,word很烦很烦,总是会卡一下,过一会卡一下.本来以为是自动保存后来发现跟自动保存没有关系. 解决方法:禁用硬件图形加速就好了,不行的话再在硬件加速下面有个"使用子像素定位平滑 ...