[root@CentOS-A-server mysql]# scripts/mysql_install_db --user=mysql --defaults-file=/usr/local/mysql/my.cnf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data/ #安装mysql数据库
WARNING: The host 'CentOS-A-server' could not be looked up with /usr/local/mysql/bin/resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...2018-07-31 04:41:20 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-07-31 04:41:20 0 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
2018-07-31 04:41:20 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.6.41) starting as process 6836 ...
2018-07-31 04:41:20 6836 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-07-31 04:41:20 6836 [Note] InnoDB: The InnoDB memory heap is disabled
2018-07-31 04:41:20 6836 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-07-31 04:41:20 6836 [Note] InnoDB: Memory barrier is not used
2018-07-31 04:41:20 6836 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-07-31 04:41:20 6836 [Note] InnoDB: Using Linux native AIO
2018-07-31 04:41:20 6836 [Note] InnoDB: Using CPU crc32 instructions
Filling help tables...2018-07-31 04:41:26 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-07-31 04:41:26 0 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
2018-07-31 04:41:26 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.6.41) starting as process 6858 ...
2018-07-31 04:41:26 6858 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-07-31 04:41:26 6858 [Note] InnoDB: The InnoDB memory heap is disabled
2018-07-31 04:41:26 6858 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-07-31 04:41:26 6858 [Note] InnoDB: Memory barrier is not used
2018-07-31 04:41:26 6858 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-07-31 04:41:26 6858 [Note] InnoDB: Using Linux native AIO
2018-07-31 04:41:26 6858 [Note] InnoDB: Using CPU crc32 instructions