TROUBLE IN RENAMING A DATABASE IN UBUNTU 18

When i am writing “alter database first_data modify name = first” then it is giving the syntax error as – “ERROR 1064 (42000): 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 ‘modify name = first’ at line 1”. what should i do??