Debian Codegraph @

cfg_scripts/mysql/DropDB

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 #!/bin/bash
2 #
3 # DropDB
4 #
•5 if [ -z $1 ]; then
6 echo " "
7 echo Usage: "$0 <Database Name>"
8 echo " "
9 exit
•10 fi
11
12 mysqladmin -uctn -pctn drop $1
•13 if [ $? != 0 ]; then
14 echo Could not drop database: $1
15 exit 1
•16 fi