LXR 0.9.5이라는 소스분석툴을 MySQL 5.0.22에 설치하려고 다음과
같이 했습니다.
-------------------------------------------------------------------
mysql> \. initdb-mysql
create table lxr_releases (
fileid int not null references lxr_files,
release char(255) binary not null,
primary key (fileid,release)
);
---> 아래와 같은 문제가 발생하네요...
ERROR 1064 (42000): 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 'release char(255) binary not null,
primary key (fileid,release)
' at line 3
같은 문제에 대해 sourceforge에 문의를 했는데, 다음과 같이 해서
해결했다고 하는데
저는 잘 되질 않습니다...
---------------------------------------------------------------
set session sql_mode='ANSI_QUOTES'
create table lxr_releases
(fileid int not null references lxr_files,
"release" char(255) binary not null,
primary key (fileid,"release")
);
아주 중요한 것이라 꼭 해결해야지 다음으로 넘어갈 수 있기에 꼭
도움 부탁드리겠습니다.
release라는 키워드는 변경이 불가능 합니다...
|