Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/context/Context.class.php on line 143

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/context/Context.class.php on line 143

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/mobile/Mobile.class.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/mobile/Mobile.class.php on line 114

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/display/DisplayHandler.class.php on line 243

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/display/DisplayHandler.class.php on line 244

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/display/DisplayHandler.class.php on line 245

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/display/DisplayHandler.class.php on line 246

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/display/DisplayHandler.class.php on line 247

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/not2wing/www/xe/index.php:1) in /home/hosting_users/not2wing/www/xe/classes/display/DisplayHandler.class.php on line 248
HaniCodi - 한의맥코디 설치법 #1

ㅇㄴㅇㄹㄴㅇㄹ

한의맥코디 설치법 #1

조회 수 8433 추천 수 0 2010.07.03 12:32:10

1.한의맥 db에 접근하기

 

Microsoft SQL Server Management Studio Express는 MS에서 무료로 제공하는 MSSQL 비주얼관리 툴이다.

 

Untitled-3[2].jpg

[그림1]


 한의맥5 로 넘어오면서 자동으로 깔린다.

시작버튼>모든프로그램>마이크로소프트 에스큐엘 서버>마이크로 소프트 에스큐엘 서버 메니지먼트 스트디오

가 있다면 설치는 건너뛰고 접속한다.


없다면

아래주소에서 다운받을 수 있다.

http://www.microsoft.com/downloads/details.aspx?familyid=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=ko

한의맥서버가 설치되어 있는 컴에 설치하면 된다.

 

설치 설명서를 만들려고 보니 무조건 다음만 누르면 되기에 생략하도록 하겠다.

 

설치가 완료되면 MSSMSE를 실행해보자. 로그인창이 뜬다.

서버 이름을 " 서버컴이름HANIMACCS2 " 를 선택하고 연결버튼을 누르기만 하면 된다. 

 

db1[1].jpg

[그림2]


2015년 9월 25일 한의맥패치 이후 windows인증을통해 한의맥 DB에 접근할 수 없게되었습니다. 

windows인증 접속을 해야  아래의 일련의 과정들을 실시할 수 있습니다. 

해결방법은 추후에 공지해 드리드록 하겠습니다. 

--------------------------------------------------------------------------------------------------------------

 

웹에서 접근할 수 있게 새 로그인을 만들어보자.

HanimacCS2 > 보안 > 로그인 > 새 로그인을 선택한다.

 

db2[1].jpg

[그림3]

 

신규사용자의 로그인이름을 입력하고 SQL Server 인증을 선택하고 암호를 입력하고 확인을 누른다.

비밀번호 4자 이상으로 하는 것이 좋다.

암호기간 만료정책에 체크해제!!

 

db3[1].jpg

[그림4]

 

로그인 사용자가 만들어 졌다. 이제 DB를 사용할 수 있는 권한을 부여해 보자.

만들어진 사용자에 대고 오른쪽 마우스 버튼을 눌러 속성을 선택한다.

 

db5[1].jpg 

[그림5]

 

 

왼쪽 옆에서 사용자 매핑을 선택하고 그 사용자가 사용할 DB를 선택하고 각각의 자격을 db_owner를 선택하여 주면 된다.

여기서 사용할 DB는 HanimacCS, Month, OHIS_H 3개면 충분하겠다.


[추가 설명] 

제일많이 실수하는 부분입니다.

HanimacCS 를 선택하고  db_owner 에 체크해주고

Month 를 선택하고 db_owner 에 체크해주고

OHIS_H 를 선택하고  db_owner 에 체크해주고

확인을 누르면 됩니다.


 

db6[1].jpg

[그림6]

 

이제 한의맥DB의 웹을 통한 접근의 첫걸음을 내딛였다.

DB는 HanimacCS2 > 데이타베이스 > HanimacCS등 > 테이블 을 통해 저장되어있는 DB를 볼수있다.

되도록이면 보기만하고 직접 삭제하거나 수정하지 않는 것이 좋다.

모든 책임은 시행자 자신에게 있다는 것을 명심하기 바란다.

List of Articles
번호 제목 글쓴이 날짜sort 조회 수
공지 공지 한의맥코디 10주년 기념 한의맥코디2 탄생 관리자 2020-02-13 19766
공지 공지 빠른 답변을 원하시면 카페( http://cafe.daum.net/hanicodi ) 를 이용해주세요. 관리자 2019-05-23 47736
» 한의맥코디 설치법 #1 file 관리자 2010-07-03 8433
1 공지 한의맥코디 소개 및 응용방법 [1] 관리자 2010-07-03 15381