MySQL Forums
Forum List  »  MySQL Workbench

Workbench scripting snipets fail
Posted by: Tim Coulter
Date: November 30, 2019 11:14AM

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:

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

Options: ReplyQuote

Written By
Workbench scripting snipets fail
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.