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