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.

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


相关内容

热门资讯

武大:极不认同OPPO母亲节广... 学校极不认同某手机厂商“母亲节”广告文案的内容表述和价值倾向。这与武汉大学立德树人的育人理念严重不符...
不法人员“刘佳”冒充下属企业投... 澎湃新闻记者 岳怀让5月7日,中国国新控股有限责任公司(简称“中国国新”)在官网发布了一则《关于不法...
“拖延军购只会使中国大陆获利”... 台立法机构5月8日表决通过蓝白版“军购特别条例”,预算上限由赖清德当局要求的1.25万亿新台币降至7...
经济热点快评丨前4个月进出口增... 王东辉据海关统计,今年前4月,我国货物贸易进出口总值16.23万亿元,同比增长14.9%,出口、进口...
陈高雅、马晓霖:欧洲议会的“傲... ▎2026年4月30日,欧洲议会在法国斯特拉斯堡举行全体会议。图源:欧洲议会多媒体中心作者 | 陈高...
国家体育总局:关注运动员赛场表... 国家体育总局有关部门负责人近日表示,近期,我们关注到全国多地出现通过商场大屏照片投放、线下粉丝聚集应...
华为坤灵代理商选型指南:重庆五... 导语:在数字化转型加速的当下,企业网络基础设施的稳定性与适配性直接影响业务效率。以华为坤灵系列产品为...
马里中部新一波极端武装袭击致数... 马里中部9日发生多起武装袭击,造成数十人死亡。一名消息人士表示,当地局势“令人担忧”。据悉,一个关联...
第四代自主超导量子计算机“本源... 来源:市场资讯 (来源:贝壳财经) 新京报贝壳财经讯(记者程子姣)5月9日,据本源量子官方公众号,本...