How to rename database in MySQL - 5.0.21 ?

I try this:

rename database sunvone_scn TO indonusacms;

and get this error:


SQL query:

RENAME DATABASE sunvone_scn TO indonusacms;

MySQL said: Documentation
#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 sunvone_scn TO indonusacms' at line 1 

RENAME DATABASE command was removed. You can create a copy of the table and after that drop old table.