mysql5.7 压缩版在windows上安装与卸载
安装:
mysqld -install
卸载:
mysqld -remove
初始化数据库:
mysqld --initialize --console
启动:
net stop mysql
关闭:
net stop mysql
skip-grant-tables
更改密码:
update mysql.user set authentication_string=password('123456') where user='root' and Host = 'localhost';
flush privileges;
set password = password('test123')
alter user 'root'@'localhost' password expire never;
flush privileges;
注:
查看到事件查看器中的window日志下的应用日志。