zoukankan      html  css  js  c++  java
  • MySQL入门

    一:如何测试是否安装成功?

    1.将mySQL的bin路径添加到系统环境变量Path中。

    2.Window + R 打开运行输入cmd -> 输入 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.40 MySQL Community Server (GPL)
    
    Copyright (c) 2000, 2014, 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>

    二:MySQL数据库

      1.mysql数据存储结构

      先数据库,再表,再有数据

       

      2.SQL

                  SQL(Structure Query Lanuage,结构化查询语言)语言:和数据库交互的语言,进行数据库管理的语言。

        SQL语句的作用

        (1)管理数据表

        (2)管理表

        (3)管理数据

    Enter password: ****

  • 相关阅读:
    169. Majority Element
    283. Move Zeroes
    1331. Rank Transform of an Array
    566. Reshape the Matrix
    985. Sum of Even Numbers After Queries
    1185. Day of the Week
    867. Transpose Matrix
    1217. Play with Chips
    766. Toeplitz Matrix
    1413. Minimum Value to Get Positive Step by Step Sum
  • 原文地址:https://www.cnblogs.com/0328dongbin/p/8986388.html
Copyright © 2011-2022 走看看