How to drop a schema/database from mysql in Linux (ubuntu) machine?

  • Open mysql using myql -u root -p command.
  • #To see the list of databases run below command

show databases;

  • #To drop a schema/database run below command

drop database databasename;

EX: drop database utp;


Last updated: June 02, 2023

If you have any feedback on this topic, please contact us at documentation@appvance.ai


Revision #2
Created 2026-07-31 15:38:26 UTC by Admin
Updated 2026-07-31 15:52:59 UTC by Admin