grant all privileges on `te%`.* to 'user'@'host'; This will create a record in mysql.db, all databases with name prefix 'te' (such as 'test', 'temp') will be available to 'user'@'host'
grant all privileges on `te%`.* to 'user'@'host'; This will create a record in mysql.db, all databases with name prefix 'te' (such as 'test', 'temp') will be available to 'user'@'host'