I am trying to rename my database by the following query:
RENAME DATABASE my_db TO newDB;
but its showing me the following error response:
Error Code: 1064. You have an error in your SQL syntax; check the manual that
 corresponds to your MySQL server version for the right syntax to use near 'DATABASE
 activation_server_db TO activationserver' at line 1
Please help me find where I am going wrong?
 
     
     
     
    