윈도우용 MySQL 5.1에서 사용되는 서버 종류
1.mysqld
InnoDB 지원에 최적화.(Optimized binary without named-pipe support)
2.mysqld-nt
named-pipe 를 지원 (Optimized binary with named-pipe support)
3. mysqld-debug
풀 디버깅 및 자동 메모리 할당 체크 옵션의 컴파일 바이너리.
InnoDB 지원(Like
mysqld-nt, but compiled
with full debugging and automatic memory allocation checking)
named-pipe 란?
컴퓨터 내부에서 프로그램간의 데이터 처리를 하는 프로세스간 통신방식.
유닉스에는 어떤 프로그램의 출력을 다른 프로그램의 입력으로 넘겨줄때 파이프라고 하는 것이 있다. 이것을 확장하여 복수의 프로세스간에 쌍방향으로 데이터를 처리할수 있도록 한 공유메모리 영역이 named-pipe 이다.
파일에 라이트,리드하는 식으로 이용이 가능하다.
유닉스뿐만아니라 윈도우 등의 여러 OS에서 이용가능하면 단순한 파이프는 같은 컴퓨터내에서만 통신이 가능하지만 named-pipe는 네트워크를 통해 다른 컴퓨터상에서 동작하는 프로세스와 통신할수도 있다.
윈도우용 MySQL 5.1 Noinstall 버젼을 설치했거나 GUI사용하지않고 테스트시
서버는 위의 세 타입중 하나를 선택.
C:\>
C:\MySQL\bin\mysqld --console
InnoDB: The first specified datafile c:\ibdata\ibdata1 did not exist:
InnoDB: a new database to be created!
InnoDB: Setting file c:\ibdata\ibdata1 size to 209715200
InnoDB: Database physically writes the file full: wait...
InnoDB: Log file c:\iblogs\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file c:\iblogs\ib_logfile0 size to 31457280
InnoDB: Log file c:\iblogs\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file c:\iblogs\ib_logfile1 size to 31457280
InnoDB: Log file c:\iblogs\ib_logfile2 did not exist: new to be created
InnoDB: Setting log file c:\iblogs\ib_logfile2 size to 31457280
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
011024 10:58:25 InnoDB: Started
mysqld: ready for connections
Version: '5.1.15-beta' socket: '' port: 3306
--console 옵션을 생략하면
C:\MySQL\data폴더에 에러 로그가 생성됨.(
.err확장자)
커맨드 창에서의 서버 기동.
C:\>
C:\MySQL\bin\mysqld타입은 위셋중하나 선택.
서버 정지
C:\> C:\\MySQL\bin\mysqladmin" -u root shutdown
MySQL 레퍼런스 역.