Command Line Interface Configuration Instructions

Follow the instructions below to access the Capture and Replay Tool from a Command Line Interface (CLI). Complete the Download Instructions first before accessing the CLI.

Prerequisite: Download the MySQL Capture and Replay Tool

Download Instructions - MySQL Capture and Replay Toolchevron-right

Step-by-Step Instructions

  1. Navigate to the "cli" folder of the previously downloaded code.

cd CaptureReplayTool/mycrt/cli    

2. Make a new virtual environment to install your package.

If you are on Mac OS X or Linux, follow the directions below:

At the prompt, type:

pip3 install virtualenv
virtualenv <env_name>
. <env_name>/bin/activate
pip3 install Click
pip3 install requests
pip3 install --editable .

If you are on Windows, follow the directions below:

At the prompt, type:

pip3 install virtualenv
virtualenv <env_name>
<env_name>\Scripts\activate
pip3 install Click
pip3 install requests
pip3 install --editable .
circle-info

<env_name> is the name of the virtual environment that you wish to create.

NOTE: if you have a modified shell (fish, etc.), you may need to look up specific instructions for activating your virtual environment.

3. Run the CLI. Type the following at the prompt:

4. The CLI will prompt you with usage instructions.

5. Enjoy!

Last updated