当前位置:网站首页>Mysql database installation and configuration detailed tutorial
Mysql database installation and configuration detailed tutorial
2022-08-11 00:37:00 【SSS4362】
MysqlDetailed tutorial on database installation and configuration
1 准备工作
1.1 下载好Mysql安装包
Download a database version from the official website,Downloading is not recommended hereMysql 8.0 Because he is unstable and there are still somebug,Most companies use it5.几的版本,这里演示的是Mysql 5.5.36版本的安装
Mysql 5.5.36Version installation package download link
1.2 删除之前安装过的MysqlDatabase and its configuration files
1.2.1 卸载之前安装过的Mysql版本
a 准备工作 关闭mysql的服务
a.1 我的电脑—>右键----->Double click to manage
a.2 点击服务和应用程序
a.3 双击服务
a.4 找到Mysql服务---->右键—>双击停止按钮
b 卸载Mysql程序
b.1 Type uninstaller in the search box,Double-click Apps & Features
b.2 Found in the Apps and Features interfaceMySQL软件,点击卸载按钮
b.3 Click the Uninstall button again,This uninstalls itMySQL程序成功了
1.2.2 Delete residual configuration files
a 删除Program Files文件夹下面的MySQL文件
Provide administrator privileges to delete(The latter deletion is also required,因为是c盘下的文件)
b 查看Program Files(x86)文件夹下面是否存在MySQL文件,If there is, it needs to be deleted
c 删除ProgramData文件夹(隐藏的项目)下面的MySQL文件
c.1 Display and double click to enterProgramData文件夹
c.2 找到MySQLfile and provide administrator rights to delete it
1.2.3 Delete the previously configured oneMySQLThe environment variable corresponding to the version
2 安装过程
2.1 双击下载好的mysql安装包(The pop-up interface needs to select Yes)
2.2 点击next按钮
2.3 勾选同意条款(许可协议中)并点击Next按钮
2.4 点击Typical按钮
2.5 点击install按钮
2.6 一直点击Next按钮(Mysql的宣传界面)
2.7 勾选Launch并点击Finish按钮(Then select Yes in the pop-up interface)
2.8 点击Next按钮
2.9 点击Next按钮
2.10 点击Next按钮
2.11 点击next按钮
2.12 点击Next按钮
2.13 点击Next按钮
2.14 点击Next按钮
2.15 Select the bottom option and setCharacter set改成utf8,然后点击Next按钮
2.16 点击Next按钮
2.17 输入rootPassword corresponding to the account and check Allow remote access
2.18 点击Execute按钮
2.19 When all the blue ticks are on,代表MySQL数据库安装成功了;点击finish按钮,就代表MysqlProgram installation is complete
3.配置环境变量
3.1 我的电脑—>右键---->双击属性
3.2 点击高级系统设置
3.3 点击环境变量
3.4 选中Path并点击编辑按钮
3.5 找到并复制MySQL对应的bin文件的路径
3.6 点击新建按钮
3.7 Paste the path you just copied(bin文件夹),Then add English at the end\
3.8 点击确定按钮
3.9 点击确定按钮
4 dosTest the interfaceMySQLwhether it can be used normally
4.1 在搜索界面输入cmd指令,然后回车
4.2 在dos界面输入mysql -uroot -p123456command and then enter
4.3 Rendering of a successful entry(代表Mysql安装并配置好了)
边栏推荐
- 容器技术真的是环境管理的救星吗?
- 分库分表ShardingSphere-JDBC笔记整理
- 力扣------用栈操作构建数组
- More parameter exposure of Pico 4: Pancake + color perspective, and Pro version
- 微信小程序强制更新版本
- #yyds干货盘点#【愚公系列】2022年08月 Go教学课程 008-数据类型之整型
- "NIO Cup" 2022 Nioke Summer Multi-School Training Camp 2 DGHJKL Problem Solution
- How to build speed, speed up again
- rhel7.0解决yum无法使用(system is not registered to Red Hat Subscription Management)
- 16. File upload
猜你喜欢
Shell编程三剑客之sed
Some Experiences of Embedded Software Logging
详解JDBC的实现与优化(万字详解)
16. File upload
力扣------用栈操作构建数组
YOLOv5的Tricks | 【Trick11】在线模型训练可视化工具wandb(Weights & Biases)
Introduction to Qt (6) - Implementation of the lottery system
J9 Digital Theory: DAO governance is more like an ecological process: governance is native to the network and continues to evolve
[Data Visualization] Chart Design Principles
sed of the Three Musketeers of Shell Programming
随机推荐
Apache Commons Configuration远程代码执行漏洞(CVE-2022-33980)分析&复现
C# using timer
【考虫 六级英语】语法课笔记
报错:Client does not support authentication protocol requested by server; consider upgrading MySQL cli
详谈二叉搜索树
Shell编程三剑客之sed
Pagoda Test-Building PHP Online Mock Exam System
Lens filter---about day and night dual-pass filter
【redis】发布和订阅消息
如何做到构建的提速,再提速
16. 最接近的三数之和
Pico 4更多参数曝光:Pancake+彩色透视,还有Pro版本
两个链表的第一个公共节点——LeetCode
② 关系数据库标准语言SQL 数据定义(创建、修改基本表)、数据更新(增删改)
力扣每日一题-第52天-387. 字符串中的第一个唯一字符
word 设置标题前分页
云原生-VMware虚拟机安装Kubesphere实战(一)
力扣------使用最小花费爬楼梯
[21 Days Learning Challenge] Half Insertion Sort
【.NET Core】使用 NPOI 读写Excel 文件