Install mySQL

注册表

Regedit

Check imagePath

Install mySQL_第1张图片

 

 

计算机—>管理à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

Install mySQL_第2张图片

 

If you see the error:

Delete the files in data dictory

Install mySQL_第3张图片

Then CMD command:  Mysqld –-initialize –user=mysql –console

 

免安装版/green version

 

  1. 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

Install mySQL_第4张图片

Remember: mysql port=3306

oracle port=1521;

sqlserver port=1433

 

mysql – u root –p

Enter password:

Set password = password(“123456”)

你可能感兴趣的:(MySQL)