#      /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. WinForm 之 应用程序开机自启动设置方法

    一.原理 需要开机自启动的程序,需要将其启动程序的路径写到注册表中指定的文件夹下. 二.实现方式 方法1:在生成安装程序时配置: 方法2:在程序运行时动态配置. 三.在生成安装程序时配置 1.右击安装 ...

  2. Ganglia监控Hadoop集群的安装部署

    一. 安装环境 Ubuntu server 12.04 安装gmetad的机器:192.168.52.105 安装gmond的机器:192.168.52.31,192.168.52.32,192.16 ...

  3. java zxing生成二维码

    package zxing.test; import com.google.zxing.BarcodeFormat; import com.google.zxing.EncodeHintType; i ...

  4. Shell 字符串分割

    入门级别 入门级别:类似1,2,3,4,5这样的字符串 #!/bin/bash var="1,2,3,4,5" var=${var//,/ } for i in $var; do ...

  5. 一个简单的C/S事例——JAVA-Socket

    TalkClient.java import java.io.*; import java.net.*; public class TalkClient { public static void ma ...

  6. 解决mybatis报错Result Maps collection does not contain value for java.lang.Integer

    解决办法:1.检查mybatis的xml配置 2.在某处肯定有配错了的,如"resultMap" -->"resultType" [html] view ...

  7. Java之创建对象>7.Avoid finalizers

    1.Finalizers are unpredictable, often dangerous, and generally unnecessary. 2.never do anything time ...

  8. TOEIC真题学习

    01.The old-fashioned delicatessen inside the street has become a popular place for lunch 街道里面的熟食店正在成 ...

  9. oracle 拼接字符串的两种方式

      方式一:使用管道符||进行拼接 方式二:使用concat()函数 区别: 方式一可以拼接多个字符串:方式二只能将2个字符串拼接到一起. 写在最后 哪位大佬如若发现文章存在纰漏之处或需要补充更多内容 ...

  10. 〖Linux〗ADT_Bundle配置

    1. 配置自动补全: Windows -> preferences -> 搜索assist,修改 java xml自动触发补全:.abcdefghijklmnopqrstuvwxyzABC ...