1.在windows10下安装mysql-5.6.50-winx64(Zip包安装)时出现如下错误
安装之前MySQL环境变量都已经配置好了,之后的步骤(此时mysql-5.6.50-winx64目录下的my-default.ini文件是没有修改的):
管理员身份进入MySQL bin目录下
1.执行 mysqld install
2.mysqladmin -u root -p password 回车
3.出现"Enter password:" 回车
4.出现"New password:" 输入新密码,回车
5.出现"Confirm new password:"确认密码,回车进入MySQL界面
2.将my-default.ini文件名修改为my.ini,并修改配置
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
# *** DO NOT EDIT THIS FILE. It's a template which will be copied to the
# *** default location during install, and will be replaced if you
# *** upgrade to a newer version of MySQL.
[mysqld]
# Remove leading # and set to t