質問編集履歴

3

追記

2018/05/17 05:19

投稿

firegrape
firegrape

スコア902

test CHANGED
File without changes
test CHANGED
@@ -55,3 +55,13 @@
55
55
  Redirecting to /bin/systemctl restart mysqld.service
56
56
 
57
57
  Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
58
+
59
+
60
+
61
+ ログを見たところ
62
+
63
+ 2018-05-17T05:18:57.733145Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
64
+
65
+ 2018-05-17T05:18:57.733619Z 0 [ERROR] unknown option '--skip-locking'
66
+
67
+ 2018-05-17T05:18:57.733657Z 0 [ERROR] Aborting

2

追記

2018/05/17 05:19

投稿

firegrape
firegrape

スコア902

test CHANGED
File without changes
test CHANGED
@@ -45,3 +45,13 @@
45
45
  mysql -u root
46
46
 
47
47
  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
48
+
49
+
50
+
51
+ また、mysqlを再起動させると、以下のようになってしまいます。
52
+
53
+ [root@localhost mysql]# service mysqld restart
54
+
55
+ Redirecting to /bin/systemctl restart mysqld.service
56
+
57
+ Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

1

追記

2018/05/17 03:51

投稿

firegrape
firegrape

スコア902

test CHANGED
File without changes
test CHANGED
@@ -37,3 +37,11 @@
37
37
 
38
38
 
39
39
  ```
40
+
41
+
42
+
43
+ また、ログインしようとすると、以下のようになってしまいます。
44
+
45
+ mysql -u root
46
+
47
+ ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)