WindowsServer2008 Configuring MySQL Proxy

Source: Internet
Author: User

WIndowsServer2008 Configuring MySQL Proxy:

1.MYSQL Proxy: http://dev.mysql.com/downloads/mysql-proxy/, select the version of Windows.

2. After decompression, configure the bin directory of the Mysql-proxy folder to the environment variable.

3. When the environment variable is configured, the administrator mode opens the cmd input command: sc create "Proxytonge" displayname= "MySQL proxytonge" start= "Auto" binpath= "Mysql-proxy- -proxy-address=0.0.0.0:3306--proxy-backend-addresses=1.1.1.1:3306 "

--Note that 1.1.1.1:3306 is the IP address of the cloud database

It is also important to note that the CMD command box must be executed, or it will appear

set-content: Could not find the positional formal parameters of the actual parameter "Displayname=mysql Proxy". 4. After the third step of the command to enter, CreateService success, it indicates that the proxy service has been created successfully. 5. Then execute the following command to open the service, turn on the extranet to access the cloud database through the cloud server c:\users\administrator> mysql-proxy--proxy-address=0.0.0.0:3306--  proxy-backend-addresses=1.1.1.1:3306 If the prompt started indicates that the startup service was successful, as follows: The yellow box is the IP of the cloud server. Finally, you can use Navicat for MySQL or other client connectivity tests locally.

WindowsServer2008 Configuring MySQL Proxy

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.