CREATE DATABASE hibernate_types; use hibernate_types; GRANT ALL PRIVILEGES ON hibernate_types.* TO 'mysql'@'%' IDENTIFIED BY 'admin';