I am using Hibernate plugin for Netbeans 5.0 and MySQL. I tried to follow
the steps in the tutorial:
http://nbxdoclet.sourceforge.net/FirstHibernate.htm
Everything worked until I came to creating database tables. When I pressed "create database table", I got the error message :
schema export unsuccessful
java.sql.SQLException: General error: Unknown database 'testhibernate'
at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown Source)
I don't understand what is meant by this. It is supposed to create the database testhibernate, but then it says " Unknown database"?