当前位置:网站首页>【MySQL】MySQL的安装与配置
【MySQL】MySQL的安装与配置
2022-06-30 12:11:00 【Cappuccino-jay】
一、下载MySQL
mysql 官网下载地址:https://dev.mysql.com/downloads/mysql/
Step 1:

Step 2:下载msi安装包

Step 3:不用登录和注册,直接下载

二、安装MySQL
1、双击msi安装器:

2、选择自定义安装

3、 选择安装的产品和功能(点击绿色箭头将选中的版本移植到右边选中框中)

4、完成后的效果(通过绿色箭头也可以将右边的再移除)

5、选择安装位置

6、自定义安装路径和数据存放路径,更改完成之后点击“OK”

7、点击Next,点击MySQL Sever,选择后再点击Execute

8、出现这个图标就说明安装成功了,直接点击“Next”

9、继续点击下一步

10、默认,直接点击下一步

11、一般情况选择第二个,再继续点击下一步

12、设置MySQL的密码,不需要太复杂,设置完了直接点击“Next”。(设置的密码为默认root的密码)

13、继续点击下一步

14、直接点击“Execute”,开始安装,点击安装之后需要等待片刻

15、完成后点击“Finish”

16、点击下一步

17、点击“Finish”,此时MySQL安装完成

18、在开始界面搜索mysql,点击第一个MySQL8.0 Command Line Client

三、运行MySQL
方式一:
1、输入刚才设置的MySQL的密码,按Enter键(回车键)

2、出现下面界面就说明已经安装成功了

方式二:
1、找到MySQL安装目录的bin目录下

2、通过cmd方式进入(因为刚安装成功后,没有配置环境变量,所以需要进入到bin目录下)

补充:(配置环境变量)
找到MySQL的安装路径(C:\Program Files\MySQL\MySQL Server 8.0\bin)

右击此电脑选择“属性”
先点击“高级系统设置”,再点击“环境变量”

在“系统变量”中选择“Path”,点击“编辑”

点击“新建”,将MySQL的安装路径添加上去,之后点击“确定”

后面就都点击确定

验证环境变量是否配置好,按下“window+R”键 弹出运行框,输入“cmd”进入window命令行
输入“mysql -u root -p”按下Enter键(回车键),再输入密码,按下回车,出现下面界面则是已经配置成功

四、MySQL图形化管理界面
可以选择Navicat来进行图形化管理
边栏推荐
- "Xiaodeng" user personal data management in operation and maintenance
- Substrate 源码追新导读: 5月中旬: Uniques NFT模块和Nomination Pool
- Biological network analysis using deep learning
- 海思3559萬能平臺搭建:獲取數據幀修改後編碼
- Introduction to new features of ES6
- Splitting e-commerce systems into micro services
- Charles打断点修改请求数据&响应数据
- Redis-缓存问题
- 海思3559 sample解析:venc
- Talk about how to do hardware compatibility testing and quickly migrate to openeuler?
猜你喜欢

Lichuang EDA learning notes 10 common connector component identification and passive buzzer driving circuit

如何利用AI技术优化独立站客服系统?听听专家怎么说!

Lvgl widget styles

New function of SuperMap iserver11i -- release and use of legend

Scratch drawing square electronic society graphical programming scratch grade examination level 2 true questions and answers analysis June 2022

Apple executives openly "open the connection": Samsung copied the iPhone and only added a large screen

Swagger2 automatically generates API documents

Redis - problèmes de cache

海思3559万能平台搭建:获取数据帧修改后编码

A review of quantum neural networks 2022 for generating learning tasks
随机推荐
Redis cache problem
海思3559 sample解析:venc
Instructions for legend use in SuperMap iclient3d 11i for cesium 3D scene
市值蒸发650亿后,“口罩大王”稳健医疗,盯上了安全套
Dqn notes
How to use the plug-in mechanism to gracefully encapsulate your request hook
Clipboardjs - development learning summary 1
Hisilicon 3559 universal platform construction: introduction to YUV format
JMeter之性能测试流程及性能测试关注点
Iserver publishing es service query setting maximum return quantity
pyqt5界面的布局与资源文件的载入
Redis - problèmes de cache
What is the principle of spectral confocal displacement sensor? Which fields can be applied?
Wechat launched the picture big bang function; Apple's self-developed 5g chip may have failed; Microsoft solves the bug that causes edge to stop responding | geek headlines
A review of quantum neural networks 2022 for generating learning tasks
Idea has a new artifact, a set of code to adapt to multiple terminals!
Redis的基本操作的命令
How do different types of variables compare with zero
90. (cesium chapter) cesium high level listening events
使用Power Designer工具构建数据库模型