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??
This is a Microsoft SQL Server command; it uses very different syntax from MySQL/MariaDB.
There is no "database rename" command in MySQL, you can either move all individual tables to a fresh database or dump/reimport.