mysql 5.0.64에서 아래 순서로 덤프를 복구하여 latin1을 utf8로 변환하는 중에,
1064 error가 나옵니다.
1. mysqldump -uroot -p --default-character-set=latin1 --extended-insert=FALSE dmupgrade > dump_utf8.sql
2. emeditor로 dump_utf8.sql을 utf8로 바꾸고, "latin1"을 "utf8로 ".로 치환.
3. mysql -uroot -p --default-character-set=utf8 dmupgrade-utf8 < dump_utf8.sql
4. The error message.:
Error
SQL query:
INSERT INTO `g4_visit` VALUES (272252,'121.182.xxx.xxx','2009-08-14','00:17:09','http://www.google.co.kr/search?肄ㅤㅅㅒㅂㅤㅅㅏㅎ?ㅻㅤㄱㅣㅄ??','Mo[...]
MySQL said: Documentation
#1064 - 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 'Mozilla/4.0 (compatible' at line 1
Mozilla/4.0 (compatible <- 이 부분을 처리하는 방법이 없을까요?
가능하면 원형을 살려서 복구하고 싶은데요.
|