エージェントをアップグレードするには、update
          インストーラを使用します。このインストーラを使用すると、設定情報が移行され、アップグレードプロセスが大幅に簡略化されます。
        
主要手順は、すべてのプラットフォームで同じです。ここでは、Linux での更新プロセスについて説明します。
更新インストーラを起動します。
shell> ./mysqlmonitoragent-2.0.0.7101-linux-glibc2.3-x86-32bit-update-installer.bin
インストールプロセスの言語を設定します。
Language Selection Please select the installation language [1] English [2] Japanese Please choose an option [1] :
以前のバージョンのインストールディレクトリの位置を確認または更新します。
----------------------------------------------------------------------------
Welcome to the setup wizard for the MySQL Enterprise Monitor Agent Update
----------------------------------------------------------------------------
Please specify the directory that contains the previous installation of 
the MySQL Enterprise Monitor Agent
Installation directory [/opt/mysql/enterprise/agent]: 
    
現在のアプリケーションおよび設定情報のバックアップを作成するかどうかを指定します。作成する場合、バックアップディレクトリが作成される場所も指定します。
----------------------------------------------------------------------------
Current installation backup
Do you want to create a backup during the update process?
Backup the current installation [Y/n]: Y
Backup directory [/opt/mysql/enterprise/agent/patchbackup]: 
      
Query Analyzer を有効にするかどうかを指定します。Query Analyzer を有効にすると、MySQL サーバを介して実行される個々のクエリの実行統計情報を監視できます。Query Analyzer を有効にするには、使用するプロキシポート、MySQL サーバ、MySQL サーバポートを指定する必要があります。この時点で Query Analyzer を有効にしない場合、後で有効にすることができます。章 9. Query Analyzer ページを参照してください。
----------------------------------------------------------------------------
Query Analysis Configuration
MySQL Proxy enables query monitoring and analysis by listening on the port 
specified below for client connections that are then passed through to a 
backend MySQL database server. It is not needed for basic monitoring 
functionality, but is required for query monitoring and analysis.
Visit the following URL for more information:
https://enterprise.mysql.com/docs/monitor/2.0/en/mem-query-analyzer.html
Enable Proxy (recommended) [Y/n]: 
Proxy Port [4040]: 
Backend Host: 127.0.0.1   (cannot be changed)
Backend Port: 3306   (cannot be changed)
      
これで、インストールを完了できます。インストールを続行するか確認します。
----------------------------------------------------------------------------
Setup is now ready to begin installing MySQL Enterprise Monitor Agent Update on your computer.
Do you want to continue? [Y/n]: 
----------------------------------------------------------------------------
Please wait while Setup installs MySQL Enterprise Monitor Agent Update on your computer.
 Installing
 0% ______________ 50% ______________ 100%
 #########################################
----------------------------------------------------------------------------
Setup has finished installing MySQL Enterprise Monitor Agent Update on your computer.
Restart MySQL Enterprise Monitor Agent now [Y/n]: 
View Readme File [Y/n]: n
      
更新エージェントが MySQL Enterprise Service Manager と通信すると、エージェント、およびエージェントが監視する MySQL についての重要な情報が、MySQL Enterprise Service Manager 2.0 で必要な新しいデータフォーマットに移行されます。保存されている既存のデータを移行するには、項3.2. 「1.3.x 履歴データの MySQL Enterprise Monitor 2.0 への移行」を参照してください。

