Creating and Dropping Databases
Database is MySQL schema object that represents a folder containing tables. Tables can not exist outside a database. In MySQL 3.23 database has only one property - Name. In the later versions of MySQL, Charset and Collation are added.
Creating a Database
-
In Database Explorer, right-click a connection node and select New Database.
Select New Database on the Database menu.
- Input name of the database.
- Select Character set and Collation.
- Click Apply Changes, and, if specified name is unique, the database will appear in Database Explorer.
Editing a Database
- In Database Explorer, right-click a database node and select Edit Database on the shortcut menu.
- Select Character set and Collation.
- Click Update Database.
Note
Database can be renamed only on MySQL 5.1.7 - 5.1.23 and 6.0.0. You can not rename database in other MySQL versions.
Dropping a Database
Drop a database by selecting Delete on the node shortcut menu.
Note
When you drop database all tables and data containing within it are lost.
Want to Find out More?
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for MySQL.
Get acquainted with the rich features and capabilities of the Studio in less than 5 minutes.
If you consider employing the Studio for your business, request a demo to see it in action.
Ready to start using dbForge Studio for MySQL?