MySQL database connection with MySQL Workbench 8.0 CE using AutoIT

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

MySQL database connection with MySQL Workbench 8.0 CE using AutoIT

L4 Transporter

Hi Guys,

 

I have missed something in my configuration. Most liking miss understood something. I am playing around with MySQL and MySQL Workbench 8.0.

I have read through the link listed below.

 

I was getting a different error until I gave it some time. Going through log files and checking the configuration. This is what I was getting first.

[14/06/2023 | 09:13:49] | :: | PSMSR864E [be40d748-7c59-4a33-b0bd-ec514f214d33] A failure occurred while waiting for the PSMMessageAlert to end. Extra Details: 3. Reason: PSMSR362E [be40d748-7c59-4a33-b0bd-ec514f214d33] An attempt to use the [GetProcessHandle] method was made when process was not initialized

[14/06/2023 | 09:13:49] | :: | PSMSR126E [be40d748-7c59-4a33-b0bd-ec514f214d33] Failure occurred while handling session. PSMSR133E [be40d748-7c59-4a33-b0bd-ec514f214d33] Failed to create process "C:\Program Files (x86)\AutoIt3\AutoIt3.exe". Code: 1260 (Codes: -1, -1)

[14/06/2023 | 09:14:14] | :: | PSMSR864E [4eff3026-3721-4ce2-a901-d9bfea187c88] A failure occurred while waiting for the PSMMessageAlert to end. Extra Details: 3. Reason: PSMSR362E [4eff3026-3721-4ce2-a901-d9bfea187c88] An attempt to use the [GetProcessHandle] method was made when process was not initialized

[14/06/2023 | 09:14:14] | :: | PSMSR126E [4eff3026-3721-4ce2-a901-d9bfea187c88] Failure occurred while handling session. PSMSR133E [4eff3026-3721-4ce2-a901-d9bfea187c88] Failed to create process "C:\Program Files (x86)\AutoIt3\AutoIt3.exe". Code: 1260 (Codes: -1, -1)

This is now what I am getting:

[14/06/2023 | 09:14:14] | :: | PSMRC055 open file for read fail, reason : -1998

[14/06/2023 | 09:14:14] | :: | PSMSR1453E Finalize from recovery service failed. Reason: PSMRC038E Failed to finilize record file (More information: [PSMRC055 open file for read fail, reason : -1998]) (Codes: -1, -1), for record ° àšÙ

[14/06/2023 | 09:14:14] | :: | PSMSRSRU005E [4eff3026-3721-4ce2-a901-d9bfea187c88] Uploader failed because recording file 4eff3026-3721-4ce2-a901-d9bfea187c88.VID.avi doesn't exists.

[14/06/2023 | 09:14:14] | :: | PSMSRSRU003E [4eff3026-3721-4ce2-a901-d9bfea187c88] Failed to upload recording file 4eff3026-3721-4ce2-a901-d9bfea187c88.VID.avi. Error: SRU005E [4eff3026-3721-4ce2-a901-d9bfea187c88] Uploader failed because recording file 4eff3026-3721-4ce2-a901-d9bfea187c88.VID.avi doesn't exists.

[14/06/2023 | 09:28:02] | :: | PSMSR864E [12ebe939-defc-4b10-8436-106200d867b1] A failure occurred while waiting for the PSMMessageAlert to end. Extra Details: 3. Reason: PSMSR362E [12ebe939-defc-4b10-8436-106200d867b1] An attempt to use the [GetProcessHandle] method was made when process was not initialized

[14/06/2023 | 09:28:02] | :: | PSMRC055 open file for read fail, reason : -1998

[14/06/2023 | 09:28:02] | :: | PSMSR126E [12ebe939-defc-4b10-8436-106200d867b1] Failure occurred while handling session. PSMSR133E [12ebe939-defc-4b10-8436-106200d867b1] Failed to create process "C:\Program Files (x86)\AutoIt3\AutoIt3.exe". Code: 1260 (Codes: -1, -1)

[14/06/2023 | 09:28:02] | :: | PSMSR1453E Finalize from recovery service failed. Reason: PSMRC038E Failed to finilize record file (More information: [PSMRC055 open file for read fail, reason : -1998]) (Codes: -1, -1), for record ° àšÙ

[14/06/2023 | 09:28:02] | :: | PSMSRSRU005E [12ebe939-defc-4b10-8436-106200d867b1] Uploader failed because recording file 12ebe939-defc-4b10-8436-106200d867b1.VID.avi doesn't exists.

[14/06/2023 | 09:28:02] | :: | PSMSRSRU003E [12ebe939-defc-4b10-8436-106200d867b1] Failed to upload recording file 12ebe939-defc-4b10-8436-106200d867b1.VID.avi. Error: SRU005E [12ebe939-defc-4b10-8436-106200d867b1] Uploader failed because recording file 12ebe939-defc-4b10-8436-106200d867b1.VID.avi doesn't exists.

 

Not worried about the PSMSRSRU003E

 

This is the error I am looking at:

PSMSR126E [12ebe939-defc-4b10-8436-106200d867b1] Failure occurred while handling session. PSMSR133E [12ebe939-defc-4b10-8436-106200d867b1] Failed to create process "C:\Program Files (x86)\AutoIt3\AutoIt3.exe". Code: 1260 (Codes: -1, -1)

The Path to AutoIt3.exe is correct. C:\Program Files (x86)\AutoIt3\AutoIt3.exe

 

 

https://community.cyberark.com/s/feed/0D550000062mfJNCAY

https://community.cyberark.com/s/question/0D52J000070vOZHSA2/i-have-an-issue-i-can-not-connect-to-my-target-using-https-the-message-is-psmsr308e-selected-component-psmriverbed-does-not-contain-the-target-settings-definitions-in-policy-edfriverbeddomain-account

15 REPLIES 15

L2 Linker

In my case, below PSMMySQLDispatcher.au3 script is working with MySQL Workbench 8.0.42. PSMMySQLDispatcher.exe is not required in Component folder.

 

++++++++++++++++++

Local $hWnd1 = WinWaitActive("Connect to MySQL Server", "", 10)

WinActivate ($hWnd1)

Send ($TargetPassword,1)

Send ("{ENTER}")

; ControlSetText ("Connect to MySQL Server","","WindowsForms10.EDIT.app.0.1a0e24_r13_ad11",$TargetPassword)

; ControlClick ("Connect to MySQL Server","","WindowsForms10.BUTTON.app.0.1a0e24_r13_ad13")

++++++++++++++++++

  • 1517 Views
  • 15 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!