Mysql安裝命令(免安裝版)
1、down load mysql-5.5.28-win32.zip
2、unzip it to a path such as d:/mysq/mysql-5.5.28-win32
3、copy the file my-huge.ini and rename it to my.ini
www.2cto.com
4、添加如下內容到my.ini的mysqld字段
basedir=D:\mysql\mysql-5.5.28-win32
datadir=D:\mysql\mysql-5.5.28-win32\data
character-set-server=utf8
5、添加入戲內容到client字段
default-character-set=utf8
6、以administrator的身份啟動命令行cmd,cd到mysql的解壓路徑的
bin文件夾,運行如下命令mysqld -install 此時已經安裝了mysql服務。
如出現Install/Remove of the Service Denied!提示說明你沒用administrator
權限。如出現Service successfully installed.說明安裝成功
7、運行net start mysql啟動mysql服務