首页 / MYSQL / mysql的简介和使用
mysql的简介和使用
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了mysql的简介和使用,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1710字,纯文字阅读大概需要3分钟。
内容图文
mysql简介
数据的所有存储,检索,管理和处理实际上是由数据库软件--DBMS(数据库管理系统)完成的
mysql是一种DBMS,即它是一种数据库软件
mysql工具
mysql是一个客户机-服务器的DBMS。
因此为了使用mysql,需要一个客户机,即提供给mysql要执行的命令 的一个应用
mysql命令行应用程序是使用最多的应用程序之一,对于快速测试,和执行脚本非常有价值
[root@VM_0_7_centos mysql]# mysql -uroot -p'6HbfLn,_cC8a'
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 22
Server version: 5.7.27
Copyright (c) 2000, 2019, 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的使用
新建数据库
mysql> create database sumyum;
Query OK, 1 row affected (0.00 sec)
mysql>
查看数据库列表
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sumyum |
| sys |
+--------------------+
5 rows in set (0.00 sec)
mysql>
选择进入数据库
mysql> use sumyum;
Database changed
查看当前数据库内可用表
mysql> show tables;
Empty set (0.00 sec)
删除数据库
mysql> drop database sumyum;
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql的简介和使用
标签:使用 for NPU 快速测试 数据库软件 客户机 names inpu 令行
本文系统来源:https://www.cnblogs.com/inmeditation/p/11563995.html
内容总结
以上是互联网集市为您收集整理的mysql的简介和使用全部内容,希望文章能够帮你解决mysql的简介和使用所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。