MySQL Forums
Forum List  »  MySQL Workbench

Force SSL when launching MySQL Workbench from command line
Posted by: Rich Torres
Date: May 12, 2023 12:16PM

Hello,

We have a somewhat unique use-case where we need to be able to launch MySQL Workbench from the command line to manage MySQL databases we run in AWS. All AWS RDS instances require SSL and this is fine when we are using pre-configured connections. However, when we try to launch an ad-hoc connection via command line, it does not appear to use encryption. We get an error that states "The server response was: Connections using insecure transport are prohibited while --require_secure_transport=ON". For reference, the command we are issuing is .\MySQLWorkbench.exe --query "user@some.database.com from Windows server.

Is there a way to force SSL in the command above? Unfortunately I do not see any command line params that allow me to specify an SSL mode.

Options: ReplyQuote


Subject
Views
Written By
Posted
Force SSL when launching MySQL Workbench from command line
299
May 12, 2023 12:16PM


Sorry, only registered users may post in this forum.

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.