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