My Oracle Support Banner

Capturing MySQL Shell output to a file (Doc ID 2802139.1)

Last updated on OCTOBER 18, 2021

Applies to:

MySQL Utilities - Version 1.6 and later
Information in this document applies to any platform.

Goal

At time of writing ( Sept 2021 ) MySQL Shell does not have an inbuilt method to capture or log the commands and output entered via shell, either interactively or via batch ./s cript.

A defect / enhancement has been created and will track this feature request which may be released in a future version.

Defect 27679993 - MYSQL SHELL SAVE OUTPUT TO A FILE

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 cut and paste
 Shell redirection
 command pipe
 script ( linux only )


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.