File: dropall.sql

package info (click to toggle)
wzdftpd 0.8.1-2etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 5,440 kB
  • ctags: 3,559
  • sloc: ansic: 40,580; sh: 9,306; lex: 2,082; makefile: 528; sql: 206; perl: 18
file content (15 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--
-- Use this to completely destroy wzdftpd
--

-- Removing privileges
REVOKE ALL ON *.* FROM "wzdftpd"@"localhost";

-- Deleting user ...
DELETE FROM mysql.user WHERE User='wzdftpd';

-- Droping database and all the tables in it
DROP DATABASE IF EXISTS `wzdftpd`;

-- Reloading the privileges ...
FLUSH PRIVILEGES;