I am trying to execute this queries -
DROP DATABASE IF EXISTS `hotel`; GRANT USAGE ON *.* TO \'user\'@\'localhost\'; DROP USER \'user\'@\'localhost\'; CRE
Try to add to the end of the script:
FLUSH PRIVILEGES;