1.什么是数据库?

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

2.MySQL入门

  1.官网下载

  2.安装MySql

  直接双击安装即可,但注意安装的目录不可出现中文。

  2.1验证安装是否成功

  打开命令行-->输入 "mysql -u root -p" 回车,输入密码-->回车

  出现以下内容,即为成功。

  C:UsersAdministrator>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盘下的一个隐藏目录,打开”显示隐藏文件“功能,即可查到

      删除即可。

    

 

内容来源于网络如有侵权请私信删除
你还没有登录,请先登录注册
  • 还没有人评论,欢迎说说您的想法!