MySQL的安装与卸载方法

巴扎黑
巴扎黑 原创
2017-06-23 15:08:11 995浏览

1.什么是数据库?

  俗称数据的仓库,方便管理数据的软件(或程序)

2.MySQL入门

  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中文网其它相关文章!

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。