SiteScope監控Mysql注意要點

來源:互聯網
上載者:User

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 would use:
jdbc:mysql://206.168.191.19/aBigDatabase

 

If you are using a different port to connect to the database then you should 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.

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.