Rename Database - Online MySQL Generator

Form for generating MySQL query

This form allows you to generate sql for rename database:

Your generated sql can be seen below.

Result of sql generation

Press F11 to switch to fullscreen mode
Move to "Paste Code" for Save

About "Rename database MySQL generator"

About this tool

The Rename Database MySQL Generator was created to help with generating MysQL query for "Rename Database". No need to remember syntax and type required data, now you can easily generate an MySQL query online.

How it Works?

Just enter your "Old Database Name" and "New Database Name" to the input above then click to the button "Generate" and you will get your MySQL query.


Make sure you have admin privilege before renaming any database. Once a database is renamed, you can check it in the list of databases with the following SQL command: SHOW DATABASES;


Generator may contain errors, You execute queries at your own risk.