Bug #104364 Workbench can't change configuration file

Submitted: 20 Jul 2021 11:43 Modified: 20 Jul 2021 12:02
Reporter: Pedro Pinheiro Email Updates:
Status: Won't Fix Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:8, 8.0.26 OS:Any
Assigned to: CPU Architecture:Any

[20 Jul 2021 11:43] Pedro Pinheiro
Description:
Hi,
Trying to change the configuration file (edit connection->system profile->configuration file), but it's not editable (greyed out).

How to repeat:
edit connection->system profile->configuration file.
Can't edit.

Suggested fix:
Should be able to edit the configuration file

As a workaround:
===================================================
1 - close workbench, if open

2 - make a backup server_instances.xml
      Usually located here: %AppData%\Roaming\MySQL\Workbench\server_instances.xml
    
3 - edit server_instances.xml and change the string:
--------------------------------
<value type="int" key="sys.config.path.lock">1</value>
--------------------------------
to:
--------------------------------
<value type="int" key="sys.config.path.lock">0</value>
--------------------------------
 
4 - start workbench

5 - In Workbench edit your connection.
===================================================
[20 Jul 2021 12:02] MySQL Verification Team
Hello Pedro,

Thank you for the report and feedback.
Verified described.

regards,
Umesh
[10 May 2022 11:54] MySQL Verification Team
This bug is the original bug of the following one:

https://bugs.mysql.com/bug.php?id=103332
[14 Sep 18:06] Omer Barnir
Posted by developer:

This issue applies to the legacy MySQL Workbench 8.x implementation that is no longer supported or maintained.
MySQL Workbench 26.7 is a complete rewrite using a new technology stack and does not use the affected legacy implementation.
Therefore, this issue is not applicable to the current MySQL Workbench product and as such is closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.