数据库用的比较多的就MySQL了无论是企业还是个人开发者,或者是学生,都是个不错的选择,MySQL目前最新版本为5.7.17.0,官方下载地址:
https://cdn.mysql.com//Downloads/MySQLInstaller/mysql-installer-community-5.7.17.0.msi
勾选同意,然后点下一步。

然后根据个人需求选择一个安装,一般默认就可以了,此处我选择安装全部功能。

左边是你电脑上可以连接到mysql的软件,比如Visual Studio,Eclipse,PyCharm等,中间是需求的版本或者额外组件,右边是状态。
选择一个选项,然后点击下面的check,如果有弹窗说明该软件没有安装需求的版本或者额外组件,如果已经安装了,则前面会多一个绿色的勾。说明可以使用。
如果没有达到要求,需要手动安装额外的软件,如果某个产品你不会用到,不安装额外软件的话也可以继续mysql。
此处我们也可以不做任何选择直接下一步。

点击“Execute”,然后等待安装完成,然后一直点next



有3个使用类型,开发者,服务器,网络专用服务器。
根据个人需求选择,如果是个人,一般选择开发者就可以了。
默认直接点next可以了。
PS:mysql的tcp默认端口都是3306,如果仅仅是本地软件使用,不需要用到网络来连接mysql的话,也是可以不选择的。
named pipe是局域网用的协议,如果需要可以勾上。
shared memory协议,仅可以连接到同一台计算机上运行的 SQL Server 实例,一般作用不大。

下面是设置最高权限的密码,这个密码很重要,务必设置一个不容易被破解的。
下面是用户设置,这个在以后添加删除用户也是可以了,安装的时候可以忽略。
然后点下一步

接下来的是Windows系统服务和插件扩展的选项,剩下的都是一些检查或者开启状态之类的,按着默认一直点下一步可以了。





输入用户名和密码,点击“Check”,测试是否能够连接。

点击“Excute”


勾选“Start MySQL Workbench after Setup”,然后点击“Finish”,即可打开管理工具


网友评论