This bug was originally marked as duplicate of bug 209757, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.
Build: NetBeans IDE 7.3 (Build 201306052037)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7
GUEST: Set a database in MySQL connection as Default Catalog.
GUEST: Not able to use database
GUEST: trying to connect to mysql database service
org.netbeans.lib.ddl.DDLException: Unable to execute command:
Could not retrieve transation read-only status server
Created attachment 140623 [details]
In netbeans 8.* the exception is caught and the message reported in a dialog. It then depends on the jdbc driver how useful that is. As the IDE can't really determine the source of the error this is as good as possible.