質問編集履歴

4

誤字修正

2018/06/06 06:14

投稿

systech
systech

スコア7

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
  パラメータが3つ、--datadir --socket --symboliしかないため、
22
22
 
23
- (あたりまえですが)--musqldオプション起動はできないのは理解できました。
23
+ (あたりまえですが)--mysqldオプション起動はできないのは理解できました。
24
24
 
25
25
 
26
26
 

3

誤字修正

2018/06/06 06:14

投稿

systech
systech

スコア7

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  にmysql8.0.11をソースコンパイルしてインストールするところまできました。
6
6
 
7
- y
7
+
8
8
 
9
9
  そこで動作確認をするべくmysql.server startと実行したところ
10
10
 

2

コード引用部修正

2018/06/06 06:13

投稿

systech
systech

スコア7

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,9 @@
28
28
 
29
29
  読み解いている最中で、
30
30
 
31
+ ```ここに言語を入力
32
+
31
- -----------------------------------------------------------------------
33
+ コード-----------------------------------------------------------------------
32
34
 
33
35
  # Get first arguments from the mu.cnf file, groups [mysqld] and [mysqld_safe]
34
36
 
@@ -41,6 +43,10 @@
41
43
  parse_arguments '$print_defaults $defaults --loose-verbose --mysqld'
42
44
 
43
45
  -----------------------------------------------------------------------
46
+
47
+ ```
48
+
49
+
44
50
 
45
51
  という部分に--mysqld オプションが出てきます。
46
52
 

1

設定ファイルの読み解き

2018/06/06 06:12

投稿

systech
systech

スコア7

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,41 @@
12
12
 
13
13
  ERROR! The server quit without updating PID file (/var/lib/musql/localhost.localdomain.pid).
14
14
 
15
- とエラーが出ます。
15
+ とエラーが出たため、
16
+
17
+
18
+
19
+ my_print_defaults のオプションを調べたところ
20
+
21
+ パラメータが3つ、--datadir --socket --symboliしかないため、
22
+
23
+ (あたりまえですが)--musqldオプション起動はできないのは理解できました。
24
+
25
+
26
+
27
+ mysql.serverはmysqld_safeから起動されるため、mysqld_safeを
28
+
29
+ 読み解いている最中で、
30
+
31
+ -----------------------------------------------------------------------
32
+
33
+ # Get first arguments from the mu.cnf file, groups [mysqld] and [mysqld_safe]
34
+
35
+ # and then merge with the command line arguments
36
+
37
+
38
+
39
+ SET_USER=2
40
+
41
+ parse_arguments '$print_defaults $defaults --loose-verbose --mysqld'
42
+
43
+ -----------------------------------------------------------------------
44
+
45
+ という部分に--mysqld オプションが出てきます。
46
+
47
+
48
+
49
+
16
50
 
17
51
 
18
52