MySql Virtual Machine and Xshell5 connection process, mysqlxshell5

Source: Internet
Author: User

MySql Virtual Machine and Xshell5 connection process, mysqlxshell5

We will introduce the basic configuration of the connection between the virtual machine and Xshell5.
1. Install the Virtual Machine. Follow the prompts to install it step by step. Pay attention to adding the image file and the virtual machine is complete.
2. Download an Xshell5 file. After installation, modify the NIC status of the virtual machine.
1). Edit ifcfg-eth0,

# Vi/etc/sysconfig/network-scripts/ifcfg-eth0

2) Click I, -- inner -- appears, modify ONBOOT = YES, Esc to exit editing, and the wq command to save and exit.
3). Enter

Service network restart;

4) enter the command ip address a on the VM to find the ip address (usually the first ip address of 2) and connect to Xshell5.
3.


Create a new file, enter the IP address, and click User Authentication. Click OK to connect.
4. Open Xshell5

1). service mysqld start; 2)./usr/local/mysql/bin/mysql-uroot-p enter mysql and enter the password

The second entry:
Open the VM and enter the user name and password.
Open Xshell

1). service mysqld start; 2)./usr/local/mysql/bin/mysql-uroot-p enter mysql and enter the password

 



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.