Table of Contents [+/-]
- 3.1 Preproduction Status — Legal Notice
- 3.2 Key Concepts
- 3.3 Setting Up MySQL as a Document Store
- 3.4 Quick-Start Guide: MySQL Shell for JavaScript [+/-]
- 3.5 Quick-Start Guide: MySQL Shell for Python [+/-]
- 3.6 Quick-Start Guide: MySQL for Visual Studio
- 3.7 X Plugin [+/-]
- 3.8 MySQL Shell User Guide [+/-]
This chapter introduces an alternative way of working with MySQL as a document store, sometimes referred to as using NoSQL. If your intention is to use MySQL in a traditional (SQL) way, this chapter is probably not relevant to you.
Using MySQL as a document store is currently a preproduction feature to which this notice applies: Section 3.1, “Preproduction Status — Legal Notice”.
Relational databases such as MySQL usually required a document schema to be defined before documents can be stored. The features described in this section enable you to use MySQL as a document store, which is a schema-less, and therefore schema-flexible, storage system for documents. When using MySQL as a document store, to create documents describing products you do not need to know and define all possible attributes of any products before storing them and operating with them. This differs from working with a relational database and storing products in a table, when all columns of the table must be known and defined before adding any products to the database. The features described in this chapter enable you to choose how you configure MySQL, using only the document store model, or combining the flexibility of the document store model with the power of the relational model.
These sections cover the usage of MySQL as a document store:
The Section 3.2, “Key Concepts” section covers concepts like Document, Collection, Session, and Schema to help you understand how to use MySQL as a document store.
The Section 3.3, “Setting Up MySQL as a Document Store” section explains how to configure X Plugin on a MySQL Server, so it can function as a document store, and how to install MySQL Shell to use as a client.
The MySQL Shell is an interactive interface to MySQL supporting JavaScript, Python, or SQL modes. You can use the MySQL Shell to prototype applications, execute queries and update data. The quick-start guides (tutorials) help you to get started using MySQL Shell.
The quick-start guide for JavaScript is here: Section 3.4, “Quick-Start Guide: MySQL Shell for JavaScript”.
The quick-start guide for Python is here: Section 3.5, “Quick-Start Guide: MySQL Shell for Python”.
The Section 3.8, “MySQL Shell User Guide” user guide provides more detailed information about using MySQL Shell.
X DevAPI User's guide.
Clients that communicate with a MySQL Server using the X Protocol can use the X DevAPI to develop applications. For example MySQL Shell and MySQL Connectors provide this ability by implementing the X DevAPI. X DevAPI offers a modern programming interface with a simple yet powerful design which provides support for established industry standard concepts. See X DevAPI User Guide for in-depth tutorials on using X DevAPI.
The following MySQL Connectors support the X Protocol and enable you to use X DevAPI in your chosen language to develop applications that communicate with a MySQL Server functioning as a document store.
Each implementation of X DevAPI provides library reference documentation, available at the above links.