MySQL 简单开始
环境搭建
MySQL下载
- MySQL Community Server(社区版)
- MySQL Standard Edition(标准版)
- MySQL Enterprise Edition(企业版)
- MySQL Cluster CGE(集群版)
https://dev.mysql.com/downloads/windows/installer/8.0.html
MySQL安装
配置:
密码设置为 :
MySQL配置
环境变量添加:C:\Program Files\MySQL\MySQL Server 8.0\bin
(可忽略)
MySQL启动
1⃣服务管理工具:
确保 服务启动
2⃣命令提示符
启动命令:
1 | net start MySQL80 |
关闭命令:
1 | net stop MySQL80 |
MySQL登陆
1⃣客户端:C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MySQL\MySQL Server 8.0
2⃣命令提示符
1 | mysql -u [username] -p |
MySQL编码
1 | show variables like 'character_%'; |
1 | show variables like 'collation_%'; |
MySQL图形化管理工具
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 梁嘉嘉の博客!