Workbench scripting snipets fail
I am new to Workbench and really rusty. I installed MySQL 8 suite recently and wanted to try things out how things work. I suspect at least one other person has experienced this problem, right?
This is the snipet I tried to run:
---------------------------------
# iterate through all schemas
for schema in grt.root.wb.doc.physicalModels[0].catalog.schemata:
print schema.name
This is the result:
------------------
Running snippet...
Traceback (most recent call last):
File "<string>", line 2, in <module>
AttributeError: 'NoneType' object has no attribute 'physicalModels'
Snippet execution finished with an error
Subject
Views
Written By
Posted
Workbench scripting snipets fail
815
November 30, 2019 11:14AM
Sorry, you can't reply to this topic. It has been closed.
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.