1.启动时失败:failed to set datadir to C:\mysql-5.7.10-winx64\data\For more information, see Help and Support Center at http://www.mysql.com.
发现目录下 \data文件夹缺失,需要进行初始化。命令为mysqld --initialize --user=mysql --console,执行后启动正常,同时生成了data目录及相关文件
2.启动时失败:Can't open the mysql.plugin table. Please run mysql_upgrade to create it.For more information, see Help and Support Center at http://www.mysql.com.
\data目录下没有\mysql文件夹,表名系统表缺失。解决方法同1