https://downloads.mysql.com/archives/community/ 各种版本的mysql
安装
https://www.cnblogs.com/joyny/p/10991194.html
安装mysql服务
以管理员身份打开cmd窗口后,将目录切换到你的解压文件bin目录下
执行:mysqld install
初始化data目录
执行:mysqld --initialize
会生成data目录
启动服务
执行:net start mysql
登陆mysql
data目录底下:在DESKTOP-PB5DAU8.err日志中,找到root用户临时密码:
https://blog.csdn.net/weixin_44219889/article/details/89376479 修改权限为%
https://www.cnblogs.com/1175429393wljblog/p/8392915.html 授权远程访问
解决报错2058
https://blog.csdn.net/jared456/article/details/80380853
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
#password 是你自己设置的root密码
https://blog.csdn.net/weixin_42930668/article/details/103260375 安装mysql8.016
https://blog.csdn.net/weixin_44219889/article/details/89376479 远程授权