无法启动mySQL“mysqld:太多的参数(首先是额外的'开始')。”

时间:2018-05-10 10:30:36

标签: mysql ubuntu-14.04

我想启动mysql但是这立即出现了,我真的不知道如何解决它,你能帮助我吗?

我有Ubuntu 14.04

这是终端中出现的内容。

dyphen@dyphen12-GNU:/etc/mysql$ sudo mysqld start
180510  5:55:25 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
180510  5:55:25 [Warning] Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory.
180510  5:55:25 [Note] mysqld (mysqld 5.5.60-0ubuntu0.14.04.1) starting as process 7158 ...
180510  5:55:25 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
180510  5:55:25 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
180510  5:55:25 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
180510  5:55:25 InnoDB: The InnoDB memory heap is disabled
180510  5:55:25 InnoDB: Mutexes and rw_locks use GCC atomic builtins
180510  5:55:25 InnoDB: Compressed tables use zlib 1.2.8
180510  5:55:25 InnoDB: Using Linux native AIO
180510  5:55:25 InnoDB: Initializing buffer pool, size = 128.0M
180510  5:55:25 InnoDB: Completed initialization of buffer pool
180510  5:55:25 InnoDB: highest supported file format is Barracuda.
180510  5:55:26  InnoDB: Waiting for the background threads to start
180510  5:55:27 InnoDB: 5.5.60 started; log sequence number 1595675
mysqld: Too many arguments (first extra is 'start').
Use --verbose --help to get a list of available options
180510  5:55:27 [ERROR] Aborting

180510  5:55:27  InnoDB: Starting shutdown...
180510  5:55:28  InnoDB: Shutdown completed; log sequence number 1595675
180510  5:55:28 [Note] mysqld: Shutdown complete

1 个答案:

答案 0 :(得分:0)

llja是对的。我犯了同样的错误。要启动mysqld,只需键入

  

mysqld

如果出现新问题,请检查/var/log/mysql/error.log中是否有错误消息。