How to delete mysql database through shell command

database, linux, mysql, shell, ubuntu

Solution

Try the following command:

mysqladmin -h[hostname/localhost] -u[username] -p[password] drop [database]

Problem

I use the pylons and sqlalchemy. I constantly update the schema files and delete and recreate the database so that new schema can be made. Every time I do this by opening the MySql Query Browser and login and delete the database/schema. How do I delete the MySQL db/schema thorough linux shell commands in Ubuntu Linux?

Original source