반응형

mssql 에서 mdf 파일을 통해 복원하는 방법입니다.

 SQL Server Management Studio을 실행한 후

데이터베이스를 선택한 후 마우스 오른쪽 버튼 클릭- Attach (한글버전에 연결)

 

 attach를 클릭하면 위와같은 화면이 나오는데 여기서 add를 눌러서 mdf파일을 추가해주면 된다.

 

 파일 경로(selected path)에 mdf파일 넣어주고 복구하려는 파일 선택해준다.

 

(파일 선택후에 로그 파일이 없다고 나오는 경우는 Database details에서 로그파일 없다고나오는 부분을 선택하고 remove 해주면된다.)

이렇게 해주면 mdf파일을 통해 데이터베이스가 복구되는 것을 확인 할 수 있다.

 

반응형

'DB > MsSql' 카테고리의 다른 글

mssql 에러 18456 로그인 실패 (error: 18456)  (0) 2015.08.11
반응형
Check that the corresponding file exists within your web application archive!

톰캣에 웹 프로젝트를 올린 후 이러한 에러가 발생했다.

tomcat - conf -web.xml

web.xml 파일이 존재하는지 확인한 후에

존재 하지 않는다면 해당경로에 web.xml파일을 넣어주면된다.

반응형
반응형

 안드로이드스튜디오 에뮬레이터 오류

에뮬레이터로 실행했을때 이러한 오류가 발생하며, 에뮬레이터 실행이 안된다.

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!

 

방법은 SDK Manager에서 Intel x86 Emulator Accelerator설치 한다.

Tools - Android - SDK Manager - Extras - Intel x86 Emulator Accelerator(HAXM Installed) 설치

설치후에도 같은 에러가 나온다면, 아래의 사이트로 접속하여,

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

haxm-windows_r05.zip 파일을 다운 받은 후 intelhaxm-android.exe 실행 하여주면된다.

 

*본인은 intelhaxm-android.exe설치 후에 정상적으로 실행

반응형

+ Recent posts