/[libdata]/branches/pear-db/admin/install/drop.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /branches/pear-db/admin/install/drop.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (show annotations)
Fri Mar 5 13:42:57 2004 UTC (20 years, 2 months ago) by dpavlin
File size: 722 byte(s)
branch to begin migration to Pear::DB

1 ################################################################
2 # WARNING - DO NOT run this script against a production system #
3 # with LibData currently installed, since it will destroy an #
4 # existing installation! #
5 ################################################################
6
7 # Drop libdata
8 DROP DATABASE IF EXISTS libdata;
9
10 # Drop libstats
11 DROP DATABASE IF EXISTS libstats;
12
13 # Drop libsession
14 DROP DATABASE IF EXISTS libsession;
15
16 # Delete users from mysql.user table
17 DELETE FROM mysql.user WHERE User = 'libdata';
18 DELETE FROM mysql.user WHERE User = 'libsession';
19
20 # Delete database/users from mysql.db table
21 DELETE FROM mysql.db WHERE Db = 'libdata';
22 DELETE FROM mysql.db WHERE Db = 'libsession';

  ViewVC Help
Powered by ViewVC 1.1.26