有人说第一次使用直接cmd输入mysql即可,但是亲测失败,需要密码,所以找到了另一种简单的解决办法
mysqld --install
mysqld --initialize --console
net start mysql
mysql -uroot -p