MySQL: "CREATE DATABASE mydb" command hangs
A short time afterwards I noticed the database was created, and further commands CREATE DATABASE succeeded.  Most likely, the issue was caused by a database lock that was eventually released later.