当前位置:网站首页>安装MySQL的详细步骤
安装MySQL的详细步骤
2022-08-04 05:30:00 【咔咔鹿】
1、mysql下载地址
MySQL :: Download MySQL Installer
web是在线安装,community是离线安装,我们选择的是community来安装MySQL。
先切换版本,我选择的是mysql5.7.35

2、安装步骤

这是我们老师之前发的文件,点击安装community的。
出现license Agreement这个界面的话,勾选"I accept the license terms",点击"Next"就好。
下面这个选择yes,然后继续下一步的安装。



点击execute,开始安装。


完成后,点击next。 端口号要记得选择3306!

接下来设置MySQL的密码 ,然后点击next。
在这里要记得你的sever name :一般默认是mysql57,也可以自己设置,但是自己要记得哦。
然后next,点击execute,进行应用配置(apply configuration) 
配置完后点击finish
然后有些会出现进行程序配置(product configuration)
配置完后再次点击next,出现连接到服务器(connect to server),然后再点击next.

再点击出现apply configuration的execute,完成后点击finish。


最后点击finish安装完了会出现mysql workbench,这个时候先等一下,我们需要设置一些东西才能开始我们的建表工作。(!注意)
步骤:右击此电脑点击属性——>高级系统设置——>打开环境变量——>在系统变量里找到Path
双击进行编辑——>把我们下载的MySQL文件下面的bin路径复制到Path——>完成后确定



然后我们来启动一下MySQL试试
搜索框查找命令提示符cmd,右键以管理员身份运行

启动MySQL的命令行是:net start mysql57
停止MySQL的命令行是:net stop mysql57
记住:有空格!名称是我们前面设置的mysql的名称,一般系统默认是mysql57(我安装的是mysql5.7.35版本),或者是之前安装的时候自己命名的名称。
接下来可以自己操作试下,workbench也可以使用了。

边栏推荐
猜你喜欢

【CV-Learning】Object Detection & Instance Segmentation

YOLOV4流程图(方便理解)

fuser 使用—— YOLOV5内存溢出——kill nvidai-smi 无pid 的 GPU 进程

MNIST Handwritten Digit Recognition - Image Analysis Method for Binary Classification

arm学习-1-开发板

【五一专属】阿里云ECS大测评#五一专属|向所有热爱分享的“技术劳动者”致敬#

Lee‘s way of Deep Learning 深度学习笔记

Amazon Cloud Technology Build On-Amazon Neptune's Knowledge Graph-Based Recommendation Model Building Experience

PCL1.12 解决memory.h中EIGEN处中断问题

yoloV5 使用——训练速度慢,加速训练
随机推荐
tensorRT教程——tensor RT OP理解(实现自定义层,搭建网络)
Android foundation [Super detailed android storage method analysis (SharedPreferences, SQLite database storage)]
MFC 打开与保存点云PCD文件
Pytorch问题总结
The second official example analysis of the MOOSE platform - about creating a Kernel and solving the convection-diffusion equation
详解近端策略优化
arm-3-中断体系结构
Pytest common plug-in
安装pyspider后运行pyspider all后遇到的问题
A code example of the PCL method in the domain of DG (Domain Generalization)
Windows10重置MySQL用户密码
arm-2-基础阶段
No matching function for call to 'RCTBridgeModuleNameForClass'
MNIST handwritten digit recognition - based on Mindspore to quickly build a perceptron to achieve ten categories
[CV-Learning] Semantic Segmentation
PCL窗口操作
学习资料re-id
Deep Adversarial Decomposition: A Unified Framework for Separating Superimposed Images
MNIST手写数字识别 —— 图像分析法实现二分类
[Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST