centos6.8安装mysql5.6启动时出现Default config file /etc/my.cnf exists on the system...
来源:互联网 发布:淘宝导航条隐藏 编辑:程序博客网 时间:2024/06/07 00:58
Installing MySQL system tables...2015-11-04 08:48:03 0 [Note] ./bin/mysqld (mysqld 5.6.27) starting as process 3147 ...
2015-11-04 08:48:03 3147 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-11-04 08:48:03 3147 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-04 08:48:03 3147 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-11-04 08:48:03 3147 [Note] InnoDB: Memory barrier is not used
2015-11-04 08:48:03 3147 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-11-04 08:48:03 3147 [Note] InnoDB: Using CPU crc32 instructions
2015-11-04 08:48:03 3147 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-11-04 08:48:03 3147 [Note] InnoDB: Completed initialization of buffer pool
2015-11-04 08:48:03 3147 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-04 08:48:03 3147 [Note] InnoDB: 128 rollback segment(s) are active.
2015-11-04 08:48:03 3147 [Note] InnoDB: Waiting for purge to start
2015-11-04 08:48:03 3147 [Note] InnoDB: 5.6.27 started; log sequence number 1626007
2015-11-04 08:48:11 3147 [Note] Binlog end
2015-11-04 08:48:11 3147 [Note] InnoDB: FTS optimize thread exiting.
2015-11-04 08:48:11 3147 [Note] InnoDB: Starting shutdown...
2015-11-04 08:48:12 3147 [Note] InnoDB: Shutdown completed; log sequence number 1626017
OK
Filling help tables...2015-11-04 08:48:12 0 [Note] ./bin/mysqld (mysqld 5.6.27) starting as process 3171 ...
2015-11-04 08:48:12 3171 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-11-04 08:48:12 3171 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-04 08:48:12 3171 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-11-04 08:48:12 3171 [Note] InnoDB: Memory barrier is not used
2015-11-04 08:48:12 3171 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-11-04 08:48:12 3171 [Note] InnoDB: Using CPU crc32 instructions
2015-11-04 08:48:12 3171 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-11-04 08:48:12 3171 [Note] InnoDB: Completed initialization of buffer pool
2015-11-04 08:48:12 3171 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-04 08:48:12 3171 [Note] InnoDB: 128 rollback segment(s) are active.
2015-11-04 08:48:12 3171 [Note] InnoDB: Waiting for purge to start
2015-11-04 08:48:12 3171 [Note] InnoDB: 5.6.27 started; log sequence number 1626017
2015-11-04 08:48:12 3171 [Note] Binlog end
2015-11-04 08:48:12 3171 [Note] InnoDB: FTS optimize thread exiting.
2015-11-04 08:48:12 3171 [Note] InnoDB: Starting shutdown...
2015-11-04 08:48:14 3171 [Note] InnoDB: Shutdown completed; log sequence number 1626027
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:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h rhel6.myexample.com password 'new-password'
Alternatively you can run:
./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 . ; ./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
New default config file was created as ./my.cnf and
will be used by default by the server when you start it.
You may edit this file to change server settings
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时出现如上红色文字时,mysql启动不了,需要删除my.cnf,命令如下:
[root@rhel6 mysql]# rm -rf /etc/my.cnf
Installing MySQL system tables...2015-11-04 08:48:03 0 [Note] ./bin/mysqld (mysqld 5.6.27) starting as process 3147 ...
2015-11-04 08:48:03 3147 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-11-04 08:48:03 3147 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-04 08:48:03 3147 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-11-04 08:48:03 3147 [Note] InnoDB: Memory barrier is not used
2015-11-04 08:48:03 3147 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-11-04 08:48:03 3147 [Note] InnoDB: Using CPU crc32 instructions
2015-11-04 08:48:03 3147 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-11-04 08:48:03 3147 [Note] InnoDB: Completed initialization of buffer pool
2015-11-04 08:48:03 3147 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-04 08:48:03 3147 [Note] InnoDB: 128 rollback segment(s) are active.
2015-11-04 08:48:03 3147 [Note] InnoDB: Waiting for purge to start
2015-11-04 08:48:03 3147 [Note] InnoDB: 5.6.27 started; log sequence number 1626007
2015-11-04 08:48:11 3147 [Note] Binlog end
2015-11-04 08:48:11 3147 [Note] InnoDB: FTS optimize thread exiting.
2015-11-04 08:48:11 3147 [Note] InnoDB: Starting shutdown...
2015-11-04 08:48:12 3147 [Note] InnoDB: Shutdown completed; log sequence number 1626017
OK
Filling help tables...2015-11-04 08:48:12 0 [Note] ./bin/mysqld (mysqld 5.6.27) starting as process 3171 ...
2015-11-04 08:48:12 3171 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-11-04 08:48:12 3171 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-04 08:48:12 3171 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-11-04 08:48:12 3171 [Note] InnoDB: Memory barrier is not used
2015-11-04 08:48:12 3171 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-11-04 08:48:12 3171 [Note] InnoDB: Using CPU crc32 instructions
2015-11-04 08:48:12 3171 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-11-04 08:48:12 3171 [Note] InnoDB: Completed initialization of buffer pool
2015-11-04 08:48:12 3171 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-04 08:48:12 3171 [Note] InnoDB: 128 rollback segment(s) are active.
2015-11-04 08:48:12 3171 [Note] InnoDB: Waiting for purge to start
2015-11-04 08:48:12 3171 [Note] InnoDB: 5.6.27 started; log sequence number 1626017
2015-11-04 08:48:12 3171 [Note] Binlog end
2015-11-04 08:48:12 3171 [Note] InnoDB: FTS optimize thread exiting.
2015-11-04 08:48:12 3171 [Note] InnoDB: Starting shutdown...
2015-11-04 08:48:14 3171 [Note] InnoDB: Shutdown completed; log sequence number 1626027
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:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h rhel6.myexample.com password 'new-password'
Alternatively you can run:
./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 . ; ./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
New default config file was created as ./my.cnf and
will be used by default by the server when you start it.
You may edit this file to change server settings
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
- centos6.8安装mysql5.6启动时出现Default config file /etc/my.cnf exists on the system...
- Warning: World-writable config file '/etc/my.cnf' is ignored
- Warning: World-writable config file '/etc/my.cnf' is ignored
- Warning: World-writable config file '/etc/my.cnf' is ignored
- The 5 minute DBA: Default My.cnf File
- 装xampp遇到World-writable config file‘/opt/lampp/etc/my.cnf’is ignored错误
- warning: World-writable config file /opt/lampp/etc/my.cnf is ignored
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- 解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- MySQL无法重启问题解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- MySQL无法重启问题解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- MySQL无法重启问题解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- MySQL无法重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法
- 解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- MySQL无法重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法
- Linux下安装mysql5.7缺少my-default.cnf文件及Can't connect to local MySQL server 解决方案
- MySql5.6 my.cnf配置优化
- 网络编程的最佳实践
- Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException:
- Git配置多个SSH-Key
- Android 导入的第三方v4或v7包冲突
- 如何学习优质 android开源项目
- centos6.8安装mysql5.6启动时出现Default config file /etc/my.cnf exists on the system...
- OpenCV-008:抠图与图片拼接
- C# Request 接收数组参数或Json参数
- HDU-5584-LCM Walk
- FileStorage 文件读写操作
- 平衡搜索树-BTree
- Somethings about the Process in the Linux
- 地图坐标转换(84坐标、百度坐标、国测局坐标)
- Oracle定时作业