1.官网下载
2.安装MySql
直接双击安装即可,但注意安装的目录不可出现中文。
2.1验证安装是否成功
打开命令行-->输入 "mysql -u root -p" 回车,输入密码-->回车
出现以下内容,即为成功。
  C:\Users\Administrator>mysql -u root -p
  Enter password: ******
  Welcome to the MySQL monitor.  Commands end with ; or \g.
  Your MySQL connection id is 2
  Server version: 5.5.30 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
  Oracle is a registered trademark of Oracle Corporation and/or its
  affiliates. Other names may be trademarks of their respective
  owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
3.卸载MySQL(以Win7系统为例)
a.停止window的MySQL服务
找到“控制面板”-->"管理工具“-->"服务",停止MySQL后台服务
b.卸载MySQL安装程序
”控制面板“-->"程序和功能",卸载MySQL程序
c.删除MySQL安装目录下的所有文件
d.删除C盘ProgramData隐藏目录中关于MySQL的目录
ProgramData这是C盘下的一个隐藏目录,打开”显示隐藏文件“功能,即可查到
删除即可。
以上就是MySQL的安装与卸载方法的详细内容,更多请关注php中文网其它相关文章!
                        
                        每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
                
                                
                                
                                
                                
                                
                                Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号