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