Remote SSH installs MySQL for Centos7

Source: Internet
Author: User

Recently selected a cloud server for customers

Operating system Select CentOS 7.0 64-bit

Remotely install MySQL5.6 via SSH and share the installation process with everyone

SSH remote client selected is Xshell, feel more useful, can be directly through the binding xftp remote directory upload download operation

Connect to the remote server via Xshell, specify the server IP, connect and enter the account--password to enter

Login successful

directly bind xftp Access server directory

I built 2 folders in it, and the server used to place Tomcat and other servers, and software used to store some installation files.

http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm Download mysql5.6 Yum install package upload to software folder

Locate the folder where you uploaded the installation package, unzip it with sudo rpm, and configure the installation environment automatically

At the end of the CD/command go back to the root directory, execute yum install mysql-serer to start downloading Mysql-server and install automatically, the whole download and installation takes about 10 minutes

The installation is complete.

I'll make a mistake when I log in to MySQL

Use the service mysqld Start command to launch the MySQL service, please.

The root user does not have a password by default

Use MySQL;

Update user set Password=password (' joined Password ') where user= ' root ';

Installation is complete, share out hope for everyone can some help, thank you!

Remote SSH installs MySQL for Centos7

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.