注册表
Regedit
Check imagePath
计算机—>管理àserviceàMySQL57àSTOPàSTART
计算机à属性à高级系统设置à高级—>环境变量—>path(to set mySQL’s bin directory)
Then you can input the install commands in CMD
Mysqld -install
Mysqld –-initialize –user=mysql --console
If you see the error:
Delete the files in data dictory
Then CMD command: Mysqld –-initialize –user=mysql –console
免安装版/green version
- Create my.ini file à copy my-default.ini
Inside the my.ini 文件(configure配置)“放在底部”
basedir=“D:\Develop Tool\mysql-5.7.14-win64”
daadir=” D:\Develop Tool\mysql-5.7.14-win64\data”
port=3306
character-set-server=utf8
Remember: mysql port=3306
oracle port=1521;
sqlserver port=1433
mysql – u root –p
Enter password:
Set password = password(“123456”)