Quantcast
Channel: MySQL Forums - MySQL Workbench
Viewing all articles
Browse latest Browse all 3724

Workbench scripting snipets fail (no replies)

$
0
0
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

Viewing all articles
Browse latest Browse all 3724

Trending Articles