| Function | drop_database | Drops a database. |
| Function | clean_database | Cleans a database. If the database does not exist, it will be created. |
| Function | execute_sql | Inserts Raw SQL commands into the database read from a file. |
| Function | dump_database | Dump the contents of the current database |
| Function | rename_database | Renames a database. |
| Function | restore_database | Restores the current database. |
| Function | dump_table | Dump the contents of a table. |
| Parameters | dbname | name of the database. |
| Parameters | filename | filename with SQL commands |
| Returns | return code, 0 if succeeded, positive integer for failure (type: int ) | |
| Parameters | filename | filename to write the database dump to |
| Parameters | src | the name of the database we want to rename. |
| dest | the new database name. |