Mysql Remote Instance Page, Ignores the Additional Checkboxes connection Method

Description

Steps to recreate:

1) Open the add remote mysql instance page on dev-latest PMM server

2) Add username/password/host/port fields and select Use TLS for database connections checkbox

3) It will show the cert fields, fill some value in the cert fields 

4) Change your mind and use the option to make only remote connection without using TLS, meaning uncheck the checkbox you selected on Step 2

5) Try adding the remote instance, you will see the request still tries to use TLS-SSL based connection, even when the user has not selected the checkbox. 

Expected Behaviour : Ignore the value in the certificate fields, when user has unchecked the checkbox responsible for them 

 

Actual Behaviour: See the gif attached to the ticket. 

How to test

None

How to document

None

Attachments

1

Smart Checklist

Activity

Show:

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

Yes

Affects versions

Smart Checklist

Created June 30, 2021 at 11:47 AM
Updated March 6, 2024 at 2:31 AM