Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This repository uses the official MariaDB Docker image to demonstrate how to manage semi-structured, via JavaScript Objection Notation (JSON), within a MariaDB database.

License

NotificationsYou must be signed in to change notification settings

mariadb-developers/mariadb-json-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository uses theofficial MariaDB Docker image to demonstrate how to manage semi-structured, viaJavaScript Objection Notation (JSON), within aMariaDB database.

This README will walk you through the steps for getting a MariaDB database up and running, using aDocker container, and automatically create adatabase, table and pre-load the table with data.

Requirements

This sample requires that you have the following installed:

Setup Instructions

The following provides for getting started using JSON with MariaDB (via a MariaDB database instance within a Docker container).

  1. Pull down this respository by either downloading it directly or usegit (through CLI or a client) to retrieve the code usinggit clone:

    $ git clone https://github.com/mariadb-developers/mariadb-json-quickstart.git
  2. Navigate to the root of this sample, and execute thedocker-compose up command to rundocker-compose.yml:

    $ docker-compose up -d

    Note: Thedocker-compose up command will use thedocker-compose.yml file to spin up a new Docker container (using the official MariaDB Docker image) andexecute SQL to create a new database (places), tables (locations), and load it with sample data.

  3. Use thedocker CLI command to use themariadb command-line client, included in the Docker container, to connect and query your MariaDB database.

    $ dockerexec -it mdb_json mariadb -u root -pPassword123!

    which will load the MariaDB command-line client, which will enable to start executing SQL using MariaDB JSON functionality.

Helpful Resources

Support and Contribution

Please feel free to submit PR's, issues or requests to this project project directly.

If you have any other questions, comments, or looking for more information on MariaDB please check out:

Or reach out to us diretly via:

License

License

About

This repository uses the official MariaDB Docker image to demonstrate how to manage semi-structured, via JavaScript Objection Notation (JSON), within a MariaDB database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp