프린트 하기

OS환경 : Windows Server 2012 R2 Standard (64bit)


DB 환경 : SQL Server 2012


에러 : Login failed for user 'imsiuser'. (Microsoft SQL Server, Error: 18456)

SQL Server 에서 새로만든 유저로 로그인 시 발생하는 메세지

패스워드는 알맞게 입력됨

로그인 시도



에러 발생



해결 방법 : 서버 인증 모드 변경

기존 인증 모드 확인 후 "Windows 인증 모드"가 아닌 "SQL Server 및 Windows 인증 모드"로 변경해주어야함


데이터베이스 최상단 서버 오른쪽 마우스-속성(Properties)



Security 탭에서 Server authentication 부분을 확인함



SQL Server and Windows Authentication mode 로 변경 후 저장



일부 기능이 서버 재기동 후 작동할수도 있다는 메세지 OK



DB 재기동



예 선택



재기동 YES 선택



재기동중



재기동 후 파일 - Connect Object Explrer... 선택



Authentication 을 Windows Authentication 에서 SQL Server Authentication으로 변경



로그인 할 유저정보 입력 후 Connect



정상적으로 접속됨



원인 : DB의 인증모드 문제 SQL Server and Windows Authentication mode으로 설정 필요

DB의 인증모드 문제 SQL Server and Windows Authentication mode으로 설정 필요



참조 : https://hannom.tistory.com/195