質問編集履歴
2
エラーが起きた行について加筆しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,4 +19,7 @@
|
|
19
19
|
|
20
20
|
```
|
21
21
|
ERROR 1064 (42000) at line 3023: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
|
22
|
-
```
|
22
|
+
```
|
23
|
+
|
24
|
+
対象の文はInsert文です。暗号化されたカラムの文字列があり、文字化けを起こしています。
|
25
|
+
おそらく、その中にシングルクオテーションやダブルくおテーションなどが出てきてしまっていることが原因かと思われます。
|
1
エラー内容を追記させていただきました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,4 +11,12 @@
|
|
11
11
|
# 環境
|
12
12
|
|
13
13
|
MySQL: 5.5.29
|
14
|
-
OS: Amazon Linux
|
14
|
+
OS: Amazon Linux
|
15
|
+
|
16
|
+
# エラー内容
|
17
|
+
|
18
|
+
ご指摘があったので、エラー文言について修正させていただきます。
|
19
|
+
|
20
|
+
```
|
21
|
+
ERROR 1064 (42000) at line 3023: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1
|
22
|
+
```
|