manual install

*l.pdb

A program database (PDB) file holds debugging and project state information that allows incremental linking of a Debug configuration of your program. A PDB file is created when you compile a C/C++ program with /ZI or /Zi or a Visual Basic/C#/JScript .NET program with /debug

 

安裝過程

#1: Customizing the PATH for MySQL Tools

 

#2:  looks for option files in several locations

file: my.ini, my.cnf

1 C:\
2 MySQL installation directory
3 C:\WINDOWS (echo %WINDIR%)

[mysqld]
# set basedir to your installation path
basedir=E:/mysql
# set datadir to the location of your data directory
datadir=E:/mydata/data
# turning
skip-name-resolve

#3: Starting the Server for the First Time

C:\> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --console

default err log:

data directory ".err" ( --log-error )

#4: Starting MySQL as a Windows Service

C:\> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqladmin" -u root shutdown

#5: Installing the service

C:\> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --install [MySQL [--defaults-file=D:\mysql-5.5.42-winx64\my.ini]

# Starting the service

NET START MySQL

# Removing the service

"C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqld" --remove

#6: Testing The MySQL Installation

C:\> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlshow"
C:\> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlshow" -u root mysql
C:\> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqladmin" version status proc
C:\> "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql" test

 

Creative Commons license icon Creative Commons license icon