質問編集履歴
7
tail -n100 /usr/local/var/mysql/rooter.err実行した際のエラーを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -157,3 +157,27 @@
|
|
157
157
|
|
158
158
|
|
159
159
|
```
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
###tail -n100 /usr/local/var/mysql/rooter.err実行した際のエラー+最後の行
|
164
|
+
|
165
|
+
```ここに言語を入力
|
166
|
+
|
167
|
+
(省略)
|
168
|
+
|
169
|
+
2019-12-04 07:02:12 52724 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
|
170
|
+
|
171
|
+
2019-12-04 07:02:12 52724 [ERROR] Do you already have another mysqld server running on port: 3306 ?
|
172
|
+
|
173
|
+
2019-12-04 07:02:12 52724 [ERROR] Aborting
|
174
|
+
|
175
|
+
(省略)
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
最後は下の行で終了しました。
|
180
|
+
|
181
|
+
191204 07:02:14 mysqld_safe mysqld from pid file /usr/local/var/mysql/rooter.pid ended
|
182
|
+
|
183
|
+
```
|
6
分かりやすく矢印追加をしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,7 +108,7 @@
|
|
108
108
|
|
109
109
|
drwxrwxr-x 8 siro admin 256 11 30 17:49 share
|
110
110
|
|
111
|
-
drwxrwxr-x 5 siro admin 160 12 1 17:04 var
|
111
|
+
drwxrwxr-x 5 siro admin 160 12 1 17:04 var←←← ここ
|
112
112
|
|
113
113
|
(省略)
|
114
114
|
|
@@ -124,7 +124,7 @@
|
|
124
124
|
|
125
125
|
drwxrwxr-x 4 siro admin 128 11 30 17:43 homebrew
|
126
126
|
|
127
|
-
drwxr-xr-x 11 siro admin 352 12 2 08:27 mysql
|
127
|
+
drwxr-xr-x 11 siro admin 352 12 2 08:27 mysql←←← ここ
|
128
128
|
|
129
129
|
(省略)
|
130
130
|
|
5
パーミッション一覧を新規に追加をしてみました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -91,3 +91,69 @@
|
|
91
91
|
sudo rm /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
|
92
92
|
|
93
93
|
```
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
###パーミッション一覧
|
98
|
+
|
99
|
+
```ここに言語を入力
|
100
|
+
|
101
|
+
rooter:local siro$ pwd
|
102
|
+
|
103
|
+
/usr/local
|
104
|
+
|
105
|
+
rooter:local siro$ ls -l
|
106
|
+
|
107
|
+
total 0
|
108
|
+
|
109
|
+
drwxrwxr-x 8 siro admin 256 11 30 17:49 share
|
110
|
+
|
111
|
+
drwxrwxr-x 5 siro admin 160 12 1 17:04 var
|
112
|
+
|
113
|
+
(省略)
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
rooter:var siro$ pwd
|
118
|
+
|
119
|
+
/usr/local/var
|
120
|
+
|
121
|
+
rooter:var siro$ ls -l
|
122
|
+
|
123
|
+
total 0
|
124
|
+
|
125
|
+
drwxrwxr-x 4 siro admin 128 11 30 17:43 homebrew
|
126
|
+
|
127
|
+
drwxr-xr-x 11 siro admin 352 12 2 08:27 mysql
|
128
|
+
|
129
|
+
(省略)
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
rooter:mysql siro$ pwd
|
134
|
+
|
135
|
+
/usr/local/var/mysql
|
136
|
+
|
137
|
+
rooter:mysql siro$ ls -l
|
138
|
+
|
139
|
+
total 247944
|
140
|
+
|
141
|
+
-rw-rw---- 1 siro admin 56 12 1 13:28 auto.cnf
|
142
|
+
|
143
|
+
-rw-rw---- 1 siro admin 50331648 12 2 08:28 ib_logfile0
|
144
|
+
|
145
|
+
-rw-rw---- 1 siro admin 50331648 12 1 13:28 ib_logfile1
|
146
|
+
|
147
|
+
-rw-rw---- 1 siro admin 12582912 12 2 08:28 ibdata1
|
148
|
+
|
149
|
+
drwx------ 81 siro admin 2592 12 1 13:28 mysql
|
150
|
+
|
151
|
+
drwx------ 55 siro admin 1760 12 1 13:28 performance_schema
|
152
|
+
|
153
|
+
-rw-r----- 1 siro admin 13162625 12 2 08:28 rooter.err
|
154
|
+
|
155
|
+
drwx------ 2 siro admin 64 12 1 13:28 test
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
```
|
4
削除コマンド一覧の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -49,3 +49,45 @@
|
|
49
49
|
### /usr/local/varフォルダ(/usr/local/var/mysqlにrooter.pidが置けない)
|
50
50
|
|
51
51
|
![イメージ説明](7ebe7fb3639c1fd318a8d31da0aebf21.png)
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
###削除コマンド一覧
|
58
|
+
|
59
|
+
```ここに言語を入力
|
60
|
+
|
61
|
+
sudo rm -rf /usr/local/Cellar/mysql*
|
62
|
+
|
63
|
+
sudo rm -rf /usr/local/bin/mysql*
|
64
|
+
|
65
|
+
sudo rm -rf /usr/local/var/mysql*
|
66
|
+
|
67
|
+
sudo rm -rf /usr/local/etc/my.cnf
|
68
|
+
|
69
|
+
sudo rm -rf /usr/local/share/mysql*
|
70
|
+
|
71
|
+
sudo rm -rf /usr/local/opt/mysql*
|
72
|
+
|
73
|
+
sudo rm -rf /etc/my.cnf
|
74
|
+
|
75
|
+
rm -rf ~/Library/PreferencePanes/My*
|
76
|
+
|
77
|
+
sudo rm /usr/local/mysql
|
78
|
+
|
79
|
+
sudo rm -rf /usr/local/mysql*
|
80
|
+
|
81
|
+
sudo rm -rf /Library/StartupItems/MySQLCOM
|
82
|
+
|
83
|
+
sudo rm -rf /Library/PreferencePanes/My*
|
84
|
+
|
85
|
+
sudo rm -rf /Library/Receipts/mysql*
|
86
|
+
|
87
|
+
sudo rm -rf /Library/Receipts/MySQL*
|
88
|
+
|
89
|
+
sudo rm -rf /private/var/db/receipts/*mysql*
|
90
|
+
|
91
|
+
sudo rm /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist
|
92
|
+
|
93
|
+
```
|
3
/usr/local/var/フォルダ追加画像
test
CHANGED
File without changes
|
test
CHANGED
@@ -43,3 +43,9 @@
|
|
43
43
|
ERROR 1006 (HY000): Can't create database 'dotinstall_todo_app' (errno: 2)
|
44
44
|
|
45
45
|
```
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
### /usr/local/varフォルダ(/usr/local/var/mysqlにrooter.pidが置けない)
|
50
|
+
|
51
|
+
![イメージ説明](7ebe7fb3639c1fd318a8d31da0aebf21.png)
|
2
mysqlのインストール手法追加いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
mac
|
20
20
|
|
21
|
-
|
21
|
+
homebrewを使用してのmysqlをインストール
|
22
22
|
|
23
23
|
###直面しているエラー内容
|
24
24
|
|
1
説明文の追加を2点行いました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -17,3 +17,29 @@
|
|
17
17
|
###環境
|
18
18
|
|
19
19
|
mac
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
###直面しているエラー内容
|
24
|
+
|
25
|
+
```ここに言語を入力
|
26
|
+
|
27
|
+
$ sudo mysql.server start
|
28
|
+
|
29
|
+
Password:
|
30
|
+
|
31
|
+
Starting MySQL
|
32
|
+
|
33
|
+
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/rooter.pid).
|
34
|
+
|
35
|
+
```
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
```ここに言語を入力
|
40
|
+
|
41
|
+
mysql> create database dotinstall_todo_app;
|
42
|
+
|
43
|
+
ERROR 1006 (HY000): Can't create database 'dotinstall_todo_app' (errno: 2)
|
44
|
+
|
45
|
+
```
|