MySQL 5.6 手册 第三章 目录
admin
2023-03-21 20:41:32
0次

Chapter 3 Tutorial

第三章 辅导教程

Table of Contents  

目录   

  • 3.1 Connecting to and Disconnecting from the Server

  • 3.1连接和断开与服务器的连接  

  • 3.2 Entering Queries

  • 3.2输入查询

  • 3.3 Creating and Using a Database    

  • 3.3创建和使用数据库    

  • 3.4 Getting Information About Databases and Tables

  • 3.4获取有关数据库和表的信息

  • 3.5 Using mysql in Batch Mode

  • 3.5在批处理模式下使用mysql

  • 3.6 Examples of Common Queries     

  • 3.6常见查询示例     

  • 3.7 Using MySQL with Apache

  • 3.7在Apache中使用Mysql

This chapter provides a tutorial introduction to MySQL by showing how to use the mysql client program to create and use a simple database. mysql (sometimes referred to as the “terminal monitor” or just “monitor”) is an interactive program that enables you to connect to a MySQL server, run queries, and view the results. mysql may also be used in batch mode: you place your queries in a file beforehand, then tell mysql to execute the contents of the file. Both ways of using mysql are covered here.

本章通过介绍如何使用mysql客户端程序来创建和使用简单的数据库,提供了MySQL的教程介绍。mysql(有时称为“ 终端监视器 ”或 “ 监视器 ”)是一种交互式程序,可以连接到MySQL服务器,运行查询并查看结果。 mysql也可能在批处理模式下使用:您先将查询放在一个文件中,然后告诉 mysql执行该文件的内容。这里介绍了使用mysql的两种方法。

To see a list of options provided by mysql, invoke it with the --help option:

要查看mysql提供的选项列表,请使用以下--help选项来调用它:

shell> mysql --help

This chapter assumes that mysql is installed on your machine and that a MySQL server is available to which you can connect. If this is not true, contact your MySQL administrator. (If you are the administrator, you need to consult the relevant portions of this manual, such as Chapter 5, MySQL Server Administration.)

本章假设您的机器上安装了mysql,并且可以使用MySQL服务器连接。如果这不正确,请与您的MySQL管理员联系。(如果 您是管理员,则需要参考本手册的相关部分,如 第5章MySQL服务器管理。)

This chapter describes the entire process of setting up and using a database. If you are interested only in accessing an existing database, you may want to skip over the sections that describe how to create the database and the tables it contains.

本章介绍设置和使用数据库的整个过程。如果您仅对访问现有数据库感兴趣,可能需要跳过描述如何创建数据库及其包含的表的部分。

Because this chapter is tutorial in nature, many details are necessarily omitted. Consult the relevant sections of the manual for more information on the topics covered here.

因为本章是辅导教程,许多细节必然被省略。有关本文涉及的主题的更多信息,请参阅手册的相关章节。


相关内容

热门资讯

空调连续工作多久需要停机休息 空调连续工作的时间取决于多个因素,包括空调的型号、功率、使用环境和维护情况等。一般来说,空调可以连续...
空调哪个符号是除湿的 空调除湿功能通常用一个水滴形状的符号表示。不同品牌和型号的空调遥控器可能会有所差异,但一般来说,除湿...
格力空调多长时间加一次氟利昂 1、一般情况下,空调对氟利昂的使用量是非常小的,所以在空调使用了四年左右的时候再考虑加也没问题。2、...
空调用多长时间需要加氟一次 一般情况下是五年。当出现以下这几种情况时,空调才需要加氟。1、空调的室内机和室外机各有两个接口,当接...
格调生活·C标思享荟:卡萨帝在... 9月12日的郑州龙湖金融岛,夜风轻拂,灯光璀璨。“C标时刻共传奇——卡萨帝思享荟暨20周年品牌盛典郑...
品牌价值破千亿、高端份额持续领... 9月12日,“C标时刻共传奇——卡萨帝思享荟暨20周年品牌盛典郑州站”在郑州龙湖金融岛举办。2026...
空调主板坏了修800还是换新的 空调主板坏了是修还是换新,需要考虑多个因素,以下是一些建议:1. 维修成本:如果维修费用较低,比如 ...
空调开多久需要休息多长时间 问题:空调开多久需要休息多长时间回答:1、在使用空调的过程中,一般空调开7~8个小时左右需要休息2~...
中央空调多长时间清洗一次 1、一般空调开机前清洗一次即可,空调开机中间时段再清洗一次,空调关机时清洗一次,这样比较合理。2、空...
中央空调氟利昂多久加一次 看空调制热和制冷程度,很多人的观点认为氟利昂必须一年放一次,其实这个观点是错误的,理解上面有点偏差,...