Code Monkey home page Code Monkey logo

mysql-worldx-sample's Introduction

This directory contains the file that can be used to set up the world_x
database that is used in the guides of the MySQL Reference
Manual:

      Quick-Start Guide: MySQL Shell for JavaScript
      Quick-Start Guide: MySQL Shell for Python

These instructions assume that your current working directory is
the directory that contains the files created by unpacking the
world_x.zip or world_x.tar.gz distribution.

You must install MySQL Shell and MySQL Server 5.7.12 or higher 
with the X Plugin enabled. Start the server before you load the 
world_x database.

  Note: Releases issued prior to September 2016 used table
        names in mixed cases. Now table names are all
        lowercase. This is because MySQL Shell is case-sensitive.

Extract the installation archive to a temporary location such as /tmp/. 
Unpacking the archive results in a single file named world_x.sql.

Create or recreate the schema with one of the following commands:

Either use MySQL Shell:

      shell> mysqlsh -u root --sql --recreate-schema world_x < /tmp/world_x-db/world_x.sql
      
Or the standard MySQL command-line client:

  Connect to MySQL:
      shell> mysql -u root -p
  Load the file:
      mysql> SOURCE /tmp/world_x-db/world_x.sql;

Enter your password when prompted. A non-root account can be used as long as 
the account has privileges to create new databases.

Replace /tmp/ with the path to the world_x.sql file on your system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.