服务器系统升级后无法启动,升级后无法启动MySQL服务器

我刚将MySQL从5.1.59升级到5.6.20(OSX 10.7),现在MySQL服务器无法启动。升级后无法启动MySQL服务器

在MySQL工作台(v6.1.7),在启动/关闭视图,在尝试启动服务器,启动消息日志内容如下:

Could not open error log file: [Errno 2] The indicated path does not exist

2014-09-06 11:21:52 - Starting server...

2014-09-06 11:21:52 - Executing '/usr/local/mysql/support-files/mysql.server start'

2014-09-06 11:21:52 - Start server: Starting MySQL

2014-09-06 11:21:52 - Start server: .. ERROR! The server quit without updati

2014-09-06 11:21:52 - Start server: ng PID file (/usr/local/mysql/data/new-host-3.home.pid).

2014-09-06 11:21:52 - Server start done.

2014-09-06 11:21:52 - Checking server status...

2014-09-06 11:21:52 - Trying to connect to MySQL...

2014-09-06 11:21:52 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (2002)

2014-09-06 11:21:52 - Assuming server is not running

2014-09-06 11:21:52 - Checking server status...

2014-09-06 11:21:52 - Trying to connect to MySQL...

2014-09-06 11:21:52 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (2002)

2014-09-06 11:21:52 - Assuming server is not running

而且在/ usr /本地/ MySQL的-5.6.20-osx10.7-x86_64的/数据/新宿主3.home.err内容如下:

140906 11:30:57 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data

2014-09-06 11:30:57 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

2014-09-06 11:30:57 2575 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitive

2014-09-06 11:30:57 2575 [Note] Plugin 'FEDERATED' is disabled.

/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist

2014-09-06 11:30:57 2575 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

2014-09-06 11:30:57 2575 [Note] InnoDB: Using atomics to ref count buffer pool pages

2014-09-06 11:30:57 2575 [Note] InnoDB: The InnoDB memory heap is disabled

2014-09-06 11:30:57 2575 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins

2014-09-06 11:30:57 2575 [Note] InnoDB: Memory barrier is not used

2014-09-06 11:30:57 2575 [Note] InnoDB: Compressed tables use zlib 1.2.3

2014-09-06 11:30:57 2575 [Note] InnoDB: Using CPU crc32 instructions

2014-09-06 11:30:57 2575 [Note] InnoDB: Initializing buffer pool, size = 128.0M

2014-09-06 11:30:57 2575 [Note] InnoDB: Completed initialization of buffer pool

2014-09-06 11:30:57 2575 [Note] InnoDB: Highest supported file format is Barracuda.

2014-09-06 11:30:57 2575 [Note] InnoDB: 128 rollback segment(s) are active.

2014-09-06 11:30:57 2575 [Note] InnoDB: Waiting for purge to start

2014-09-06 11:30:57 2575 [Note] InnoDB: 5.6.20 started; log sequence number 1600927

2014-09-06 11:30:57 2575 [ERROR] /usr/local/mysql/bin/mysqld: unknown option '--skip-locking'

2014-09-06 11:30:57 2575 [ERROR] Aborting

2014-09-06 11:30:57 2575 [Note] Binlog end

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'partition'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_SYS_TABLES'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_FT_CONFIG'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_FT_DELETED'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_METRICS'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_CMPMEM'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_CMP_RESET'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_CMP'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_LOCKS'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'INNODB_TRX'

2014-09-06 11:30:57 2575 [Note] Shutting down plugin 'InnoDB'

2014-09-06 11:30:57 2575 [Note] InnoDB: FTS optimize thread exiting.

2014-09-06 11:30:57 2575 [Note] InnoDB: Starting shutdown...

2014-09-06 11:30:59 2575 [Note] InnoDB: Shutdown completed; log sequence number 1600937

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'BLACKHOLE'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'ARCHIVE'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'MRG_MYISAM'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'MyISAM'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'MEMORY'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'CSV'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'sha256_password'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'mysql_old_password'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'mysql_native_password'

2014-09-06 11:30:59 2575 [Note] Shutting down plugin 'binlog'

2014-09-06 11:30:59 2575 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

140906 11:30:59 mysqld_safe mysqld from pid file /usr/local/mysql/data/new-host-3.home.pid ended

顺便说一下有在/ var/MySQL的一个的mysql.sock文件,并且有没有mysqld进程在运行。

我还没有能够运行mysql_upgrade或其他任何我见过的建议给类似症状的用户,因为我无法启动服务器。这超出了我的MySQL意识;有人可以解释发生了什么,我该如何解决这个问题?

任何帮助将是非常赞赏,

SVS

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值