Windows installation Mycat

Source: Internet
Author: User
Tags db2

http://blog.csdn.net/sc9018181134/article/details/53063798

1. Go to GitHub to download Mycat

2. After the download is complete, unzip. It should be like this.

3. Configure the Environment variables

4. Next, modify several of the following configuration files in the mycat/conf

WRAPPER.CONF Red Word to modify the path of your JDK

Server.xml Below is mycat login username and password and schema root 123456 default is this can not be modified.

Schema.xml Here are the names of the tables and databases for the library. These correspond to the actual existence of MySQL tables and databases Mycat equivalent to a virtual MySQL. The tables that are distributed in DB1.DB2,DB3 are combined.

or the configuration in scheme. This is the address of the MySQL database. I am here as a local database. User name and password write MySQL.

5. Finally start Mycat to see.

Bin/startup_nowrap.bat if error = = Please refer to the authoritative guide of Mycat official website. There is a wrong handling.

The appearance of successfully succeeded.

6. Finally, the employee table is established in the database DB1.DB2 and the data is stored separately

7. Last login Mycat after connecting the MySQL connection tool such as Navicat.

The port is 8066. The user name and password are user name passwords in Server.xml.

After the successful landing. Look at the employee table. appear

You can see that the combined table illustrates the success.

Windows installation Mycat (RPM)

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.