Skip to content

Instantly share code, notes, and snippets.

View iriks-it's full-sized avatar

Matthijs Iriks iriks-it

View GitHub Profile
@ticean
ticean / drop-mysql-tables.sh
Created May 10, 2011 23:34
Shell script to drop all tables from MySQL.
#!/bin/bash
# A shell script to delete / drop all tables from MySQL database.
# Usage: ./script user password dbnane
# Usage: ./script user password dbnane server-ip
# Usage: ./script user password dbnane mysql.nixcraft.in
# -------------------------------------------------------------------------
# Copyright (c) 2008 nixCraft project <http://www.cyberciti.biz/fb/>
# This script is licensed under GNU GPL version 2.0 or above
# -------------------------------------------------------------------------
# This script is part of nixCraft shell script collection (NSSC)