質問編集履歴
5
内容の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -62,16 +62,20 @@
|
|
62
62
|
```
|
63
63
|
としてみたところ
|
64
64
|
```sql
|
65
|
-
|
66
|
-
2019-11-15T21:33:53.684573Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.18) starting as process 10360
|
67
|
-
2019-11-15T21:33:53.689512Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
|
68
|
-
2019-11-15T21:33:53.728189Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
|
65
|
+
|
69
66
|
2019-11-15T21:33:53.865985Z 1 [ERROR] [MY-013090] [InnoDB] Unsupported redo log format (0). The redo log was created before MySQL 5.7.9
|
70
67
|
2019-11-15T21:33:53.866297Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
|
71
68
|
2019-11-15T21:33:54.285345Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
|
72
69
|
2019-11-15T21:33:54.285833Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
|
73
70
|
2019-11-15T21:33:54.286356Z 0 [ERROR] [MY-010119] [Server] Aborting
|
71
|
+
```
|
72
|
+
というエラーログが出たので調べてみた結果、 /var/lib/mysql/ファイルのib_logfile0 と ib_logfile1がRedo logsなので消去しろとのことだったので実行しました。
|
73
|
+
その後にまた sudo service mysqld start を実行したら次のようなエラーログが出ました。
|
74
|
+
```sql
|
75
|
+
2019-11-15T22:28:51.776034Z 1 [ERROR] [MY-013168] [InnoDB] Cannot upgrade server earlier than 5.7 to 8.0
|
76
|
+
2019-11-15T22:28:56.780697Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
|
74
|
-
2019-11-
|
77
|
+
2019-11-15T22:28:56.781401Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
|
78
|
+
2019-11-15T22:28:56.782225Z 0 [ERROR] [MY-010119] [Server] Aborting
|
75
79
|
|
76
80
|
```
|
77
81
|
このようになってしまった際の解決法をどなたかご存じでしたら宜しくお願いします。
|
4
内容の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -60,6 +60,19 @@
|
|
60
60
|
```sql
|
61
61
|
$ sudo less /var/log/mysqld.log
|
62
62
|
```
|
63
|
-
としてみ
|
63
|
+
としてみたところ
|
64
|
+
```sql
|
65
|
+
2019-11-15T21:33:53.682473Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
|
66
|
+
2019-11-15T21:33:53.684573Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.18) starting as process 10360
|
67
|
+
2019-11-15T21:33:53.689512Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
|
68
|
+
2019-11-15T21:33:53.728189Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
|
69
|
+
2019-11-15T21:33:53.865985Z 1 [ERROR] [MY-013090] [InnoDB] Unsupported redo log format (0). The redo log was created before MySQL 5.7.9
|
70
|
+
2019-11-15T21:33:53.866297Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
|
71
|
+
2019-11-15T21:33:54.285345Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
|
72
|
+
2019-11-15T21:33:54.285833Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
|
73
|
+
2019-11-15T21:33:54.286356Z 0 [ERROR] [MY-010119] [Server] Aborting
|
74
|
+
2019-11-15T21:33:54.288408Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.18) MySQL Community Server - GPL.
|
75
|
+
|
76
|
+
```
|
64
77
|
このようになってしまった際の解決法をどなたかご存じでしたら宜しくお願いします。
|
65
78
|
バージョン自体はしっかりとアップグレードされているようです。
|
3
内容の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -58,8 +58,8 @@
|
|
58
58
|
と出てきます。
|
59
59
|
|
60
60
|
```sql
|
61
|
-
$ less /var/log/mysqld.log
|
61
|
+
$ sudo less /var/log/mysqld.log
|
62
62
|
```
|
63
|
-
としてみましたが、
|
63
|
+
としてみましたが、直近のログはありませんでした。
|
64
64
|
このようになってしまった際の解決法をどなたかご存じでしたら宜しくお願いします。
|
65
65
|
バージョン自体はしっかりとアップグレードされているようです。
|
2
具体的な説明の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -56,5 +56,10 @@
|
|
56
56
|
```
|
57
57
|
|
58
58
|
と出てきます。
|
59
|
+
|
60
|
+
```sql
|
61
|
+
$ less /var/log/mysqld.log
|
62
|
+
```
|
63
|
+
としてみましたが、これも許可がありませんと出てきます。
|
59
64
|
このようになってしまった際の解決法をどなたかご存じでしたら宜しくお願いします。
|
60
65
|
バージョン自体はしっかりとアップグレードされているようです。
|
1
環境の説明
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
MyCentOSを使っています。操作はputtyでしております。
|
1
2
|
MySqlを5.6から8.0に次の手順でバージョンアップしたら起動ができなくなりました。
|
2
3
|
|
3
4
|
1, リポジトリの追加
|