MySQL的安裝與卸載方法

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盤下的一個隱藏目錄,打開”顯示隱藏文件“功能,即可查到

      刪除即可。

    

?

? 版權聲明
THE END
喜歡就支持一下吧
點贊13 分享