File: mysql_drop.sql

package info (click to toggle)
horde2 2.2.8-1sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,832 kB
  • ctags: 2,897
  • sloc: php: 12,784; sh: 954; sql: 149; makefile: 104; perl: 97; xml: 24; pascal: 6
file content (17 lines) | stat: -rw-r--r-- 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $Horde: horde/scripts/db/mysql_drop.sql,v 1.1.2.2 2002/09/25 22:58:25 jan Exp $
#
# You can simply direct this file to mysql as STDIN:
#
# $ mysql --user=root --password=<MySQL-root-password> < mysql_drop.sql

USE mysql;

DELETE FROM user WHERE user LIKE 'horde%';

DELETE FROM db WHERE user LIKE 'horde%';

DROP DATABASE IF EXISTS horde;

FLUSH PRIVILEGES;

# Done!