DB
-
[ibatis]에러 : com.ibatis.common.beans.ProbeException삽질들/DB관련 2014. 5. 15. 10:02
[ibatis]에러 : com.ibatis.common.beans.ProbeException : There is no WRITEABLE property named '변수명' in class '클래스명' 원인: 전역변수와 sql xml 이 대소문자를 구별하기 때문. set/get 대소문자 와 sql.xml에 쓴 property id명을 동일하게 써야 한다. 수정한 ex > sql.xml java파일 String name; public void setName(String name){ this.name = name; }
-
[MySQL] 원격접속허용과 원격접속확인computer/DB 2011. 7. 2. 16:53
원격하는 컴퓨터를 remote com이라고 하고 원격되어지는 컴퓨터를 remoted com이라고 정하겠습니다. remoted com의 mysql에서 다음과 같은 sql문을 작성하여 줍니다. grant all privileges on *.* to 접근할계정@'접근할ip주소' identified by '비밀번호'; mysql> grant all privileges on *.* to root@'203.252.111.111' identified by 'passsword'; //예시문 //비밀번호는 remote com의 mysql 비밀번호이다. 현재 remoted com의 mysql비밀번호가 아니다. 이렇게 작성한 뒤 remote com에서 remoted com으로 원격접속을 해보겠습니다. 제대로 원격으로 접속가..