How to customize default port (3306) MySQL Workbench?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

How to customize default port (3306) MySQL Workbench?

L0 Member
5 REPLIES 5

L7 Applicator

@Sobous Ngoy​ 

to do what with it? what are you attempting?

 

Please provide full details and context or I will delete this thread.

 

-Matt

Actually, i want to onboard MySQL Workbench with CyberArk CorePAS, but i use customized port instead of default port (3306). we have done changing port on platform, still it goes with default port. Now, it is working.

 

Solution: put ip address text box: 192.168.x.x:(new port)

You can modify source code (au3 file) section $ConnectionClientPID

#Old Script $ConnectionClientPID = Run($CLIENT_EXECUTABLE & " --query " & $TargetUsername & "@" & $TargetAddress)   #New Script $ConnectionClientPID = Run($CLIENT_EXECUTABLE & " --query " & $TargetUsername & "@" & $TargetAddress & ":" & $TargetPort)

 You also need to add property $TargetPort in Global variable and FetchSessionProperties function,

L1 Bithead

@Heron Sidabutar​ , this change you suggested helps to include the port, however looks like its not populating the password. Can you please suggest?

The au3 script from the marketplace doesn't fully work, it really depends on the mysqlworkbench version.

You can inspect the password field section, and match it with your script so that it can be filled in automatically by PSM.

  • 446 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!