I am trying to execute this queries -
DROP DATABASE IF EXISTS `hotel`; GRANT USAGE ON *.* TO \'user\'@\'localhost\'; DROP USER \'user\'@\'localhost\'; CRE
I got the same error with
grant all on newdb.* to newuser@localhost;
solved with 'identified by':
grant all on newdb.* to newuser@localhost identified by 'password';