当前位置:网站首页>安装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也可以使用了。

边栏推荐
猜你喜欢

The second official example analysis of the MOOSE platform - about creating a Kernel and solving the convection-diffusion equation

Attention Is All You Need(Transformer)

Pytest常用插件

Tencent and NetEase have taken action one after another. What is the metaverse that is so popular that it is out of the circle?

Amazon Cloud Technology Build On 2022 - AIot Season 2 IoT Special Experiment Experience

target has libraries with conflicting names: libcrypto.a and libssl.a.

MNIST handwritten digit recognition, sorted by from two to ten

MNIST Handwritten Digit Recognition - Building a Perceptron from Zero for Two-Classification

双向LSTM

数据库的简述与常用操作指南
随机推荐
MFC 打开与保存点云PCD文件
Halcon缺陷检测
SQL注入详解
Pytorch语义分割理解
Brief description of database and common operation guide
tensorRT5.15 使用中的注意点
How to get started with MOOSE platform - an example of how to run the official tutorial
投稿相关
DRA821 环境搭建
tensorRT教程——使用tensorRT OP 搭建自己的网络
关于DG(域泛化)领域的PCL方法的代码实例
(导航页)OpenStack-M版-双节点手工搭建-附B站视频
【论文阅读】Further Non-local and Channel Attention Networks for Vehicle Re-identification
BatchNorm&&LayerNorm
lstm pipeline 过程理解(输入输出)
[Deep Learning Diary] Day 1: Hello world, Hello CNN MNIST
MNIST手写数字识别 —— 图像分析法实现二分类
The second official example analysis of the MOOSE platform - about creating a Kernel and solving the convection-diffusion equation
How to grow into a senior engineer?
Postgresql snapshot