.msi文件下载:https://dev.mysql.com/downloads/installer/
zip文件下载:https://dev.mysql.com/downloads/mysql/
安装链接:https://blog.youkuaiyun.com/weixin_38654336/article/details/79721534
window下,两种方法应该都可以吧
但是我的zip格式总是与参考的不一样,故最后用.msi格式安装,参考https://www.jb51.net/article/127229.htm
最后,参考上面链接执行完后,还要进行用python连接mysql
重置密码参考:http://www.runoob.com/mysql/mysql-install.html
我下载了一个pymysql-python的压缩文件,参考https://blog.youkuaiyun.com/zhengyikuangge/article/details/72831260
https://zhidao.baidu.com/question/397464638.html?qbl=relate_question_0&word=mysql%BA%CDpython-mysql%20window
目录为:E:\ruanjianinstall\PyMySQL-master
pymysql安装:要到安装的python目录Scripts下执行安装:python -m install PyMySQL 失败,
但是,最后尝试pip3 install PyMySQL 好像是成功了
最后测试是否安装成功,在cmd中输入python,再import pymysql没有出错,pycharm中也检测出来了
(https://www.cnblogs.com/xsmile/p/7750282.html)
我的mysql:C:\Program Files\MySQL\MySQL Server 5.6\bin
我的python:D:\应用软件\python\Scripts
D:\应用软件\python\Scripts下的cffi-1.7.0-cp35-cp35m-win_amd64.whl和cffi-1.11.3-cp35-cp35m-win_amd64.whl不知道有没有管用,暂时先放在这里了
mysql workbench的使用还可以参考
超详细MySQL安装及基本使用教程:https://blog.youkuaiyun.com/thelostlamb/article/details/78797643
打开时点击左下边,即可完成登录,登录后显示页面就和文档中一样了
2003-Can't connect to MySql server on 'localhost'(10061)错误
https://blog.youkuaiyun.com/juliarjuliar/article/details/82146535
mysql学习:
菜鸟教材:http://www.runoob.com/mysql/mysql-tutorial.html
w3school:http://www.w3school.com.cn/sql/index.asp
csdn:https://blog.youkuaiyun.com/thelostlamb/article/details/78797643