MySQL 윈도우즈 설치 (Windows Install )
Database/MySQL 2008/04/20 02:56- 비스타에서 작업 , 확인
- 5.1.X 버젼
참고 :
http://dev.mysql.com/doc/refman/5.1/en/windows-installation.html
http://dev.mysql.com/doc/refman/5.1/ja/windows-installation.html- 인스톨 없는 압축파일로 설치
- 다운로드
http://dev.mysql.com/downloads/mysql/5.1.html - 다운로드받은 파일을 압축파일을 임의의 디렉토리에 풀기
c:\dev\mysql - 옵션 파일 작성
MySQL 은 서버가 기동하면서 2개의 옵션 파일을 검색.
c:\Windows\my.ini 그리고 c:\my.cnf
여기서는 c:\my.cnf 를 사용함
[mysqld]
basedir=c:\\dev\\mysql
datadir=c:\\dev\\mysql\\data
추가
참고: http://dev.mysql.com/doc/refman/5.1/ja/option-files.html - 서버타입 선택
참고 : http://dev.mysql.com/doc/refman/5.1/ja/windows-select-server.html - 서버 기동c:\dev\mysql\bin>c:\dev\mysql\bin\mysqld --console
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
080420 2:45:40 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
080420 2:45:41 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
080420 2:45:42 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
080420 2:45:43 InnoDB: Started; log sequence number 0 0
080420 2:45:44 [Note] Event Scheduler: Loaded 0 events
080420 2:45:44 [Note] c:\dev\mysql\bin\mysqld: ready for connections.
Version: '5.1.24-rc-community-log' socket: '' port: 3306 MySQL Community Server (GPL)
--console 옵션을 삭제하면 데이터 디렉토리에 에러로그 생성함.
서버 정지c:\dev\mysql\bin>c:\dev\mysql\bin\mysqladmin -u root shutdown
080420 2:50:37 [Note] Event Scheduler: Purging the queue. 0 events
080420 2:50:37 InnoDB: Starting shutdown...
080420 2:50:38 InnoDB: Shutdown completed; log sequence number 0 46409
080420 2:50:38 [Note] c:\dev\mysql\bin\mysqld: Shutdown complete - 기본 유저 어카운트 확보
- 다운로드
- 기본 패키지 인스톨 (공식 매뉴얼에서 추천하는 인스톨 방법)
- 다운로드
http://dev.mysql.com/downloads/mysql/5.1.html - 인스톨 개시. 다운로드 한 파일 실행.
- Custom Type 선택
- 인스톨 디렉토리 선택
- 인스톨 시작
- 서버 설정
- 설정 타입 선택 (상세 설정 선택)
- 서버 타입 선택 (개발 환경용이기에 Developer Machine 선택)
- 데이터베이스 용도 선택
- InnoDB 용 드라이버 선택
- 서버에 동시컨넥션 규모 선택
- 네트워킹 옵션 선택
- 캐릭터 셋 선택 (매뉴얼로 UTF8 선택)
- 서비스 명을 MySQL51 로 선택. 다른 버젼을 설치할지도 모르기에...
PATH 지정 체크 선택 - Modify Security Settings 체크 해제. 나중에 수동으로 설정.
- 설정 끝
- 다운로드
- 인스톨 없는 압축파일로 설치
- 패키지 설치 참고
2008/04/18 - [Programming/Server] - 개발환경구축 > 패키지 설치
'Database > MySQL' 카테고리의 다른 글
| [MySQL] 문자형 데이터 타입 (0) | 2008/06/09 |
|---|---|
| [MySQL] 날짜 / 시간 데이터 타입 (0) | 2008/06/09 |
| [MySQL] 데이터 타입 (Data Type) (0) | 2008/06/09 |
| [MySQL] Join 의 차이 설명 (0) | 2008/06/06 |
| [MySQL] 테이블 정의(구조) 보기 (0) | 2008/06/06 |
| MySQL 윈도우즈 설치 (Windows Install ) (0) | 2008/04/20 |
| MySQL Install (MySQL 인스톨) (0) | 2008/04/20 |
| MySQL 유저 어카운트 관리 (0) | 2008/03/10 |
| MySQL 루트 초기 패스워드 설정 (0) | 2008/03/02 |
| MySQL Source Install (소스 인스톨 ) (2) | 2008/03/02 |
| MySQL 5.1 Windows 용 서버 관련 메모 (0) | 2007/11/01 |