"Use Unicode UTF-8 for worldwide language support" 옵션 설정 시 SQL Server 2016 설치 오류
다음과 같은 환경 설정을 하고,
영문 설정의 Windows 10 명령행 창(cmd.exe)의 한글 지원
; https://www.sysnet.pe.kr/2/0/11559
SQL Server 2016을 설치하는데 다음과 같은 오류가 발생합니다.
The following error has occurred:
Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.4224.16&EvtType=0xD15B4EB2%25400x4BDAF9BA%25401306%254026
오류 로그 파일에는 다음과 같이 0x851A001A 오류 코드가 있습니다.
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A001A
Error description: Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.4224.16&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
당연히 서비스 관리자에서 SQL Server 서비스를 시작하려면 다음과 같은 오류 메시지가 뜹니다.
Windows could not start the SQL Server (MSSQLSERVER) on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 3417.
결론부터 말하면 SQL Server 2016의 경우 code page 65001을 지원하지 않는 것 같습니다. 대신 SQL Server 2017로 설치하면 이런 문제없이 정상적으로 설치가 됩니다.
[업데이트 2018-08-28: "Current language for non-Unicode programs" 설정을 English로 하고 "Use Unicode UTF-8 for worldwide language support" 설정을 한 경우 이런 오류가 발생합니다. 어쩔 수 없습니다. English를 Korean으로 바꿔야 합니다.]
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]