win10 mysql安装:
1.下载:https://dev.mysql.com/downloads/mysql/
2.path 添加 ...mysql/bin地址
3.操作:需要管理员身份执行cmd
cd mysql-8.0.25-winx64
cd bin
mysqld --initialize-insecure --user=mysql
mysqld -install
异常:Install/Remove of the Service Denied! 【需要管理员身份】
net start MySQL 【启动mysql】
mysql -u root -p
异常:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 【直接回车】
修改密码为123456:
use mysql
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
flush privileges;
quit
redis安装
1.下载 https://github.com/ServiceStack/redis-windows/blob/master/downloads/redis-64.3.0.503.zip
2.操作 需要管理员身份执行cmd 进入redis.windows.conf 文件夹下
redis-server.exe redis.windows.conf
3.下载 Redis Desktop Manager可视化工具连接校验:
百度云盘:https://pan.baidu.com/s/1kU8sY3P