MySQL Forums
Forum List  »  MySQL Workbench

Re: Printing a variable to the console
Posted by: Jon Stephens
Date: March 24, 2023 05:39AM

Are you looking for something like this?

~> mysql -uusername -ppassword -e 'SELECT @@binlog_format'


cheers

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Printing a variable to the console
175
March 24, 2023 05:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.