Threat Picture

Latest Cybersecurity News

How to Rename a MySQL Database (Step by Step)

There's no RENAME DATABASE command, so you have to be sneaky. Four steps to rename a MySQL database without losing anything.
By Charles Joseph · Updated
Illustrated monitor showing tables moving from old_db to new_db.
A MySQL database can be moved into a new database name through export and import.
Share
Share
Copy Link