File: mysql_clean.sh

package info (click to toggle)
scilab-scimysql 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 988 kB
  • ctags: 105
  • sloc: xml: 7,315; ansic: 2,573; sql: 143; makefile: 19; sh: 6
file content (5 lines) | stat: -rwxr-xr-x 176 bytes parent folder | download | duplicates (2)
1
2
3
4
5
#!/bin/sh
# This file can be used to create database glpk in MySQL.
USERNAME=$1
echo MySQL cleaning is called for user $USERNAME. 
mysql -f -u $USERNAME -p < scripts/erase.sql