INSTALATION INSTRUCTIONS
========================

First note: The PMDA requires server version 3.22 or higher.

Since MySQL is not standard PMDA, instalation is slightly complicated:

Unpack PCP source, do configure and make as usual.  Then unpack mysql pmda into
src/pmdas directory.  Also edit src/pmns/stdpmid and add line:

#define MYSQLD <number>

The <number> can be any yet unused number. I use 66, so you would add

#define MYSQL 66

line.

Then go to src/pmdas/mysql, type make and then ./Install. Select
"both" when instalation program asks. 

If root cannot access your SQL server or you want to monitor another server
than the local one, you may supply:
- Host name using the -h swotch
- User name using the -u switch
- Password using the -p switch

These must be supplied in /var/pcp/config/pmcd/pmcd.conf on command line.

After the instalation program completes, you should see mysql status and
configuration variables under the mysql tree (try 'pminfo -f mysql').

Please note that since I did not figure out how to install help, there
is no help yet. But that should change. In the meantime, please refer
to MySQL doc, the metrics have same names as variables you get from
'shoq status' and 'show variables' SQL commands.

