MySQL官网下载链接:https://dev.mysql.com/downloads/mysql/
本次安装参考两位博主的blog,链接如下:https://blog.csdn.net/weixin_30290193/article/details/113113611?
https://www.jb51.net/article/204510.htm
自编辑的MySQL——my.ini配置文件(自行更改后缀格式),链接如下:蓝奏云
开启MySQL服务(cmd管理员终端输入):
net start mysql
运行MySQL代码:mysql -uroot -p
#p
后面跟着是sql的密码(有则填,无则直接回车)
如遇报错的问题,可参考如下blog:
https://blog.csdn.net/qq_37915248/article/details/82631398
https://blog.csdn.net/yuanzhugen/article/details/103995870
如果遇到需要卸载重装mysql的话,参考下文:
https://blog.csdn.net/weixin_43812609/article/details/95310693
如果遇到语法错误,如:group by语法报错时,如下错误:
MySQL_group by报错 [ERROR 1055 (42000): Expression #2 of SELECT list is not in GROUP BY clause]
则参考该文修改下配置:
https://www.cnblogs.com/wuaihua/p/12969684.html
》关于SQL语句的练习可以访问我的下篇文章:经典SQL练习题