#Path to installation directory. All paths are usually resolved relative to this.
basedir="D:\MySQL Server 5.1/"
#Path to the database root
datadir="D:\MySQL Server 5.1/Data/"
但是因為免安裝,所以不會生成服務,只需通過簡單的命令就可以實現:
打開命令窗口切換到mysql的bin目錄下。
1.注冊服務:
D:\MySQL Server 5.1\bin>mysqld --install mysql51
回車執行,會提示創建成功,打開服務可以找到剛創建的mysql51服務
2.卸載服務:
D:\MySQL Server 5.1\bin>mysqld --remove mysql51