I want to create a database which name will have special characters in it. for example, (., - , _, @, #, $, %, &, *)
can anyone provide any output on this?
I would strongly recommend that you do not create databases with such names. But if you absolutely must, here are the restrictions:
To create a database, you can do the following:
mysql> create database `really@strange*database$name`;