在linux上启动mysql服务报错?报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

在linux上启动mysql服务报错?报错

爱吃鱼的程序员 2020-06-08 15:02:50 99

[root@iZ23ara0njdZ ~]# /apps/svr/mysql-5.6.17/bin/mysqld start
2017-05-04 12:39:09 2955 [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.
2017-05-04 12:39:09 2955 [Note] Plugin 'FEDERATED' is disabled.
/apps/svr/mysql-5.6.17/bin/mysqld: Table 'mysql.plugin' doesn't exist
2017-05-04 12:39:09 2955 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2017-05-04 12:39:09 7f21f53ce720 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2017-05-04 12:39:09 2955 [Note] InnoDB: Using atomics to ref count buffer pool pages
2017-05-04 12:39:09 2955 [Note] InnoDB: The InnoDB memory heap is disabled
2017-05-04 12:39:09 2955 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-05-04 12:39:09 2955 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-05-04 12:39:09 2955 [Note] InnoDB: Using CPU crc32 instructions
2017-05-04 12:39:09 2955 [Note] InnoDB: Initializing buffer pool, size = 2.0G
2017-05-04 12:39:09 2955 [Note] InnoDB: Completed initialization of buffer pool
2017-05-04 12:39:09 2955 [Note] InnoDB: Highest supported file format is Barracuda.
2017-05-04 12:39:09 2955 [Note] InnoDB: 128 rollback segment(s) are active.
2017-05-04 12:39:09 2955 [Note] InnoDB: Waiting for purge to start
2017-05-04 12:39:09 2955 [Note] InnoDB: 5.6.17 started; log sequence number 1600724
/apps/svr/mysql-5.6.17/bin/mysqld: Too many arguments (first extra is 'start').
Use --verbose --help to get a list of available options
2017-05-04 12:39:09 2955 [ERROR] Aborting

2017-05-04 12:39:09 2955 [Note] Binlog end
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'partition'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'ARCHIVE'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_METRICS'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_CMPMEM'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_CMP'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_LOCKS'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'INNODB_TRX'
2017-05-04 12:39:09 2955 [Note] Shutting down plugin 'InnoDB'
2017-05-04 12:39:09 2955 [Note] InnoDB: FTS optimize thread exiting.
2017-05-04 12:39:09 2955 [Note] InnoDB: Starting shutdown...
2017-05-04 12:39:11 2955 [Note] InnoDB: Shutdown completed; log sequence number 1600734
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'BLACKHOLE'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'MEMORY'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'CSV'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'MyISAM'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'MRG_MYISAM'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'sha256_password'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'mysql_old_password'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'mysql_native_password'
2017-05-04 12:39:11 2955 [Note] Shutting down plugin 'binlog'
2017-05-04 12:39:11 2955 [Note] /apps/svr/mysql-5.6.17/bin/mysqld: Shutdown complete

关系型数据库 MySQL Linux C语言
分享到
取消 提交回答
全部回答(1)
  • 爱吃鱼的程序员
    2020-06-08 15:03:09

    /apps/svr/mysql-5.6.17/bin/mysqld:Table'mysql.plugin'doesn'texist
    2017-05-0412:39:092955[ERROR]Can'topenthemysql.plugintable.Pleaserunmysql_upgradetocreateit.

     

    theerrorinfoisobvious

    楼上+1,日志报错已经告诉你应该怎么办了,你不看日志吗?

    是不是升级了版本,日志已经说的很清楚了,楼上以及再楼上都指出来了

    创建一下这个表,表损坏了,起来后数据导出重建,应该是有磁盘坏块或别的原因,最好是重建
    0 0
数据库
使用钉钉扫一扫加入圈子
+ 订阅

分享数据库前沿,解构实战干货,推动数据库技术变革

推荐文章
相似问题