Notes for MySQL monitoring by sitescope

Source: Internet
Author: User
Tags sitescope

Monitoring MySQL Databases
Monitoring a MySQL database requires the use of a JDBC driver. To enable sitescope to monitor a MySQL database:

 

Download the JDBC driver from http://www.mysql.com/downloads/api-jdbc.html
Uncompress the distribution file
Among all the other files, you should find a file with a. Jar extension.
Copy the. jar file into the <sitescope install path>/sitescope/Java/lib/EXT directory

Stop and restart sitescope
Now, use your browser to add a database query monitor within sitescope.
The database connection URL format for the MySQL JDBC driver is:

JDBC: mysql: // <database hostname> [: <TCP port>]/<database>

 

For example to connect to the MySQL database "abigdatabase" on a machine using the standard MySQL port number 3306 you wowould use:
JDBC: mysql: // 206.168.191.19/abigdatabase

 

If you are using a different port to connect to the database then you shoshould include that port number as part of the IP address.

The specification for the MySQL JDBC driver is: org. gjt. Mm. MySQL. Driver

Enter this string into the database driver text box under the advanced options section of the add database query monitor form.

 

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.