Raspberry Pi Build installation MySQL

Source: Internet
Author: User

Recently started a Raspberry Pi, a whim to make a small home server, at home for the hour has been hanging.

 

Really is very small, only slap big, to Raspberry Pi bought some accessories, shell, small fan, 2 fins, 32G SD card, HDMI line, after the effect of assembly.

You can update the next software before installing

sudo apt-get update

And then it's waiting. After the wait is ready to install MySQL, the command to install directly:

sudo apt-get install Mysql-server

Then wait, during the installation will prompt you to enter the root password of MySQL, will be prompted two times. After the input is complete, it will be installed successfully.

Then enter the following command to enter MySQL:

Mysql-u root-p

You will then be prompted to enter your password and enter your password to enter MySQL:

[Email protected]:/home/pi# mysql-u Root-Penter Password:welcome to the MySQL Monitor. Commands End With
Your MySQL connection ID is 43
Server version: 5.5. 35-0+wheezy1 (Debian)

Copyright (c) , + , Oracle and/or its Affiliates. All rights reserved.
oracle is a registered trademark of oracle corporation and/ or its
affiliates. other names may be trademarks of their respective
< span class= "constant" >owners.

/span>
< span class= "keyword" >< Span class= "number" >type HELP; ' or ' \h ' for help. type '
/span>
MYSQL>

You can remotely connect the Raspberry Pi database with Navicat for MySQL software on your computer.

Raspberry Pi Build installation MySQL

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.