The drop_database() function enables you to remove a defined data source connection from MindsDB.
drop_database()
Use the drop_database() method to remove a database:
server.drop_database('mysql_demo_db')