mysql innodb启动失败_mysql启动失败
環境: mysql55 redhat5.7
首先闡明,去年用arch時玩mariadb,用的很順風順水.... 但是今年在arch下我的mariadb也一直沒安裝成功,情況基本跟現在一樣...之前沒有填坑,現在必須彌補了...
安裝完后,啟動失敗...但并不清楚問題出在哪兒....試了下mysqld -urooot登錄,發現是這個錯誤:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
這個sock文件是不存在的...
我嘗試安全啟動,但是還是錯誤,下面是找到的錯誤日志(/var/lib/mysql/test.err):
150702 15:51:47 [Warning] Using unique option prefix key_buffer instead of key_b
uffer_size is deprecated and will be removed in a future release. Please use the
full name instead.
150702 15:51:47 [Note] /usr/libexec/mysqld (mysqld 5.5.44-log) starting as proce
ss 15474 ...
150702 15:51:47 [Note] Plugin 'FEDERATED' is disabled.
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
150702 15:51:47 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgr
ade to create it.
150702 15:51:47 InnoDB: The InnoDB memory heap is disabled
150702 15:51:47 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150702 15:51:47 InnoDB: Compressed tables use zlib 1.2.3
150702 15:51:47 InnoDB: Using Linux native AIO
150702 15:51:47 InnoDB: Initializing buffer pool, size = 128.0M
150702 15:51:47 InnoDB: Completed initialization of buffer pool
150702 15:51:47 InnoDB: highest supported file format is Barracuda.
150702 15:51:47 InnoDB: Waiting for the background threads to start
150702 15:51:48 InnoDB: 5.5.44 started; log sequence number 1595675
150702 15:51:48 [ERROR] /usr/libexec/mysqld: unknown option '--skip-locking'
150702 15:51:48 [ERROR] Aborting
150702 15:51:48 InnoDB: Starting shutdown...
150702 15:51:49 InnoDB: Shutdown completed; log sequence number 1595675
150702 15:51:49 [Note] /usr/libexec/mysqld: Shutdown complete
150702 15:51:49 mysqld_safe mysqld from pid file /var/lib/mysql/test.pid ended
其它地方的日志基本就沒有有用的信息了(可能是我沒找全)
看了錯誤日志,發現錯誤,按照提示執行命令,但是又出現這個結果...
總結
以上是生活随笔為你收集整理的mysql innodb启动失败_mysql启动失败的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Swift封装 滑出式导航栏
- 下一篇: jQuery---过滤选择器