I exported database, from mysql workbench, and it is in local disk C, and then delete the database, from MySQL workbench, and then imported database(which I exported previously, in this case ui.sql) and original database name is hibernatedb (which I deleted from MySQL workbench), so now the error is unknown database, how can I import this?
I guess that you had "Include CREATE SCHEMA" option disabled when you did the export. With this option disabled, your export file will not contain CREATE SCHEMA statement that creates a new schema (database). It will contain only CREATE TABLE, INSERT statements and so on.
Try simply to manually create "hibernatedb" database from MySQL Workbench / MySQL console and try to import the database again.
I exported and imported database through command line, so that option did not work, I choose command line export and import, because , I got error, in normal export and import.. I post in picture..