MySQL installation for Hadoop---cluster

Source: Internet
Author: User

MySQL installation for Hadoop---cluster

One:  

  

  Two:

  

   Three:

  

Four:

  

   Five:

  

  Six:

  

  Seven:

  

  Eight: Modify database character: Solve Chinese garbled problem, mysql default is latin1, we want to change to Utf-81>

   

    2> Then we do modify:--> first we need to build a folder for MySQL at/etc/--and then copy/usr/sharemysql/my-medium.cof to/ect/mysqlthen modify MY-MEDIUM.COF's name to MY.CNF

   

   3> Modifying a configuration file

   

4> View

Nine: operation of the database under Linux:

1) View the version number of the MySQL database and the current date of the server

  

2) Displays a summary of the tables in the MySQL database

3) Create a database and select a database to make it the current operational database

  

4) View the name of the database currently being manipulated

5) Create a table, view the table, and view the table details

  

6) Insert the data and view the data in the table. MultiRow Insert Add ' values (), () '

  

7) Update the data in the table using the UPDATE statement

  

Then simply install and manipulate the database.

  10: Open Linux Database with port number using local database

  

OK!!!, we're going to eat, bye.

  

Huhu_k: Eat very hungry every day ....

  

  

  

  

MySQL installation for Hadoop---cluster

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.