前言
MySQL Server的安装教程可以参考我的上一篇文章,链接如下
MySQL Configurator配置
1. Welcome
2. Type and Networking
2.1 Config Type
个人研究选择“Development Computer”就可以了,
- Development Computer(开发计算机)适合个人开发学习使用的;
- Server Computer (服务器)是像主要用于像FTP,email,web服务器等等;
- Dedicated Computer(专用服务器) 只用作MySQL服务器。
2.2 Connectivity
默认MySQL的端口是3306,用默认的就可以。
2.3 Advanced Configuration
勾选“Show Advanced and Logging Options”,在左侧列表中会出现“Advanced Options”(高级选项)和“Logging Options”(日志选项)这两个配置选项,此处我未勾选。
3. Accounts and Roles
我是输入MySQL的密码后,直接点击“Next”。
3.1 Root Account Password
设置MySQL的密码,可以使用字母(大写字母或者小写字母)、数字和特殊字符,不用担心MySQL Root Password文本框旁边的❗,等到Repeat Password填写完后就会提示“Password strength”了。
3.2 MySQL User Accounts
“Add User”是添加其他管理员(如果添加的管理员只允许在本地登录,可以将Host改成Local)。
4. Windows Service
主要是确认是否选择开机启动mysql服务,默认设置,点击“Next”。
5. Server File Permissions
默认,点击“Next”。
6. Sample Databases
默认,点击“Next”。
7. Apply Configuration
点击“Execute”后“Next”。
8. Configuration Complete
点击“Finish”,MySQL安装完成。