Install MySQL by Raspberry Pi

Source: Internet
Author: User
Recently, I started a Raspberry Pi with a whimsical attempt to build a small household server, which has been around for 7x24 hours at home. Then wait. Prepare to install my

Recently, I started a Raspberry Pi with a whimsical attempt to build a small household server, which has been around for 7x24 hours at home. Then wait. Prepare to install my

Recently, I started a Raspberry Pi with a whimsical attempt to build a small household server, which has been around for 7x24 hours at home.

It is really very small, only a big slap, bought some accessories for Raspberry Pi, Shell, small fan, two heat sink, 32g sd card, HDMI cable, after assembly effect.

You can update the local software before installation.

Sudo apt-get update

Then wait. After waiting, prepare to install mysql. Run the following command to install mysql:

Sudo apt-get install mysql-server

Then wait. During the installation process, you will be prompted to enter the root password of mysql. A prompt will be displayed twice. After the input is complete, the installation is successful.

Run the following command to access mysql:

Mysql-u root-p

Then, you will be prompted to enter the password to enter mysql:

Root @ raspberrypi:/home/pi # mysql-u root-p
Enter password:
Welcome to the MySQL monitor. Commands end
Your MySQL connection id is 43
Server version: 5.5.35-0 + wheezy1 (Debian)

Copyright (c) 2000,201 3, 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
Owners.

Type 'help; 'or' \ H' for help. type' \ C' to clear the current input statement.

Mysql>

You can use Navicat for MySQL or other software on your computer to remotely connect to Raspberry Pi database.

Install NodeJS on the (Raspberry Pi) Raspberry Pi

Install Weston on Raspberry Pi

Linux OS for Raspberry Pi is available

Raspberry Pi (Raspberry Pi) trial note

Introduction to Raspberry Pi (Raspberry Pi) installation, IP configuration, and software source

This article permanently updates the link address:

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.