#      /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. 自然语言处理哪家强?【36kr】

    语音交互事关未来,国内外已经不少公司在抢蛋糕了,大公司收购.投资.合作不断,就可见一斑.目前,基本上所有的巨头都有涉足. 苹果收购 Siri.Novauris,组建基于神经网络算法的语音识别团队 20 ...

  2. CXF实战之拦截器Interceptor(四)

    拦截器(Interceptor)是CXF功能最基本的扩展点,能够在不正确核心模块进行改动的情况下.动态加入非常多功能.拦截器和JAX-WS Handler.Filter的功能相似,当服务被调用时.就会 ...

  3. ArcEngine中COM对象与其基础RCW分开后就不能再使用

    操作ArcEngine中的COM对象时,为了减少内存的增长,用掉的对象要手动释放常用的方法是ReleaseComObject System.Runtime.InteropServices.Marsha ...

  4. JEECG中的validform验证ajaxurl的使用方法

    validform验证是一种非常方便的,实用的验证方式 对于需要验证后台数据的,validform是一个非常明智的选择 validform的ajaxurl属性能够完美的实现:当输入完成某一输入框,就会 ...

  5. Vue为什么没有templateUrl

    Why Vue.js doesn't support templateURL Vue.js为什么不支持templateUrl模式 原因 templateUrl使用ajax的方式在运行时加载templa ...

  6. LLVM lli llc

    http://zke1ev3n.me/2016/01/18/%E5%9F%BA%E4%BA%8ELLVM%E7%9A%84%E4%BB%A3%E7%A0%81%E6%B7%B7%E6%B7%86/ h ...

  7. go1.8之安装配置

    说明: 之前学习过go语言(大概是0.9版本),后来更新太快,也没怎么使用,就荒废掉了,今年有项目需要用go开发,重新捡起. 这是我在学习go语言过程中整理的内容,这里记录下,也方便我以后查阅. 操作 ...

  8. [转]jquery设置select选中,赋值等操作

    一.基础取值问题 例如<select class="selector"></select> 1.设置value为pxx的项选中 $(".selec ...

  9. cpu高 load 高 内存高 io 高怎么排查

    一个应用占用CPU很高,除了确实是计算密集型应用之外,通常原因都是出现了死循环. (友情提示:本博文章欢迎转载,但请注明出处:hankchen,http://www.blogjava.net/hank ...

  10. Servlet学习(一)

    Servlet的运行过程 Servlet程序是由WEB服务器调用,web服务器收到客户端的Servlet访问请求后: ①Web服务器首先检查是否已经装载并创建了该Servlet的实例对象.如果是,则直 ...