KB Category: Database

Truncate and Drop Database

Truncate Database Select Database -> More Database Operations -> Truncate Database (Shift+Del) to truncate (make the tables empty) all the tables of a database (however, the Tables and other objects (Stored Procedures, Views…
Read more

Transactions

SQLyog provides GUI controls for executing transactional command. The controls available are a menu category and 3 buttons for executing most common transactional commands. Set Autocommit: If it is checked…
Read more

Database Schema

Select Database -> Create Schema For Database in HTML (Ctrl+Shift+Alt+S). This is useful for documentation of database as you may print the schema nicely with appropriate page breaks, formatting etc. Select the…
Read more

Empty Database

Select Database -> More Database Operations -> Empty Database to drop all the tables and other type of objects (Stored Procedures, Views etc.) of a Database. However the Database itself is not…
Read more

Execute SQL Script

SQLyog allows you to execute a batch file of any size (yes….any size – limited by the OS) created using mysqldump or SQLyog’s Export Database As Batch Script option. Select Tools…
Read more

Copy Database To Different Host/DB

Select the Database you want to copy and then Select Database -> Copy Database to different Host/DB to copy a database (with all or selected items of its table structure as well as the…
Read more

Alter Database

This option lets you change the default charset and collation for a database. New tables created after that will be created with the selected charset and collation unless otherwise specified.…
Read more

Create Database

SQLyog provides all the tools you need to manage and navigate databases. Note that to start working with databases in SQLyog you need to connect to a MySQL server. Select Database ->…
Read more
Copyright © 2026 Webyog Inc. All Rights Reserved.