- 论坛徽章:
- 2
|
本帖最后由 little_angel 于 2015-11-04 17:48 编辑
1.正常启动mysql- -bash-4.2$ service mysql start
- Starting MySQL SUCCESS!
复制代码 2.登录操作- mysqld -uroot -pDJGN9M5fHkY5y4wN
复制代码 3.然后就弹出错误信息- 2015-11-05 01:30:50 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
- 2015-11-05 01:30:50 2496 [Warning] One can only use the --user switch if running as root
- 2015-11-05 01:30:50 2496 [Warning] Buffered warning: Changed limits: max_open_files: 1024 (requested 5000)
- 2015-11-05 01:30:50 2496 [Warning] Buffered warning: Changed limits: table_cache: 431 (requested 2000)
- 2015-11-05 01:30:50 2496 [Note] Plugin 'FEDERATED' is disabled.
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Using atomics to ref count buffer pool pages
- 2015-11-05 01:30:50 2496 [Note] InnoDB: The InnoDB memory heap is disabled
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Compressed tables use zlib 1.2.3
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Using Linux native AIO
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Using CPU crc32 instructions
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Initializing buffer pool, size = 128.0M
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Completed initialization of buffer pool
- 2015-11-05 01:30:50 2496 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 11
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
- 2015-11-05 01:30:50 2496 [Note] InnoDB: Retrying to lock the first data file
- 2015-11-05 01:30:51 2496 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 11
- 2015-11-05 01:30:51 2496 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
- 2015-11-05 01:30:52 2496 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 11
- 2015-11-05 01:30:52 2496 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
复制代码 我尝试了一些方法,但还是未解决,求助各位大声。。。。。 |
|