head	1.6;
access;
symbols
	TIGRIS_1_1_0RC2:1.2
	TIGRIS_1_1_0RC1:1.2
	TIGRIS_1_1:1.2.0.4
	TIGRIS_1_0_8:1.2
	TIGRIS_1_0_8RC3:1.2
	TIGRIS_1_0_8RC2:1.2
	TIGRIS_1_0_8RC1:1.2
	TIGRIS_1_0_7:1.2
	TIGRIS_1_0_7RC3:1.2
	TIGRIS_1_0_7RC2:1.2
	TIGRIS_1_0_7RC1:1.2
	TIGRIS_1_0_6:1.2
	TIGRIS_1_0_6RC5:1.2
	TIGRIS_1_0_6RC4:1.2
	TIGRIS_1_0_6RC3:1.2
	TIGRIS_1_0_6RC2:1.2
	TIGRIS_1_0_6RC1:1.2
	TIGRIS_1_0_5:1.2
	TIGRIS_1_0_5RC6:1.2
	TIGRIS_1_0_5RC5:1.2
	TIGRIS_1_0_5RC4:1.2
	TIGRIS_1_0_5RC3:1.2
	TIGRIS_1_0_5RC2:1.2
	TIGRIS_1_0_5RC1:1.2
	TIGRIS_1_0_4:1.2
	TIGRIS_1_0_3:1.2
	TIGRIS_1_0_2:1.2
	TIGRIS_1_0_1:1.2
	TIGRIS_1_0:1.2.0.6
	TIGRIS_1_0_0:1.2
	TIGRIS_1_0_0_RC1:1.2.0.2
	dlr:1.1.1
	HELM_PEER_PORT_BRANCH:1.1.1.1;
locks; strict;
comment	@# @;


1.6
date	2001.08.02.22.47.43;	author leonardr;	state Exp;
branches;
next	1.5;

1.5
date	2001.04.19.18.18.09;	author leonardr;	state Exp;
branches;
next	1.4;

1.4
date	2001.04.19.02.41.52;	author leonardr;	state Exp;
branches;
next	1.3;

1.3
date	2001.04.13.18.11.22;	author leonardr;	state Exp;
branches;
next	1.2;

1.2
date	2001.02.21.01.56.42;	author edk;	state Exp;
branches;
next	1.1;

1.1
date	2001.02.06.19.38.44;	author dlr;	state dead;
branches
	1.1.1.1
	1.1.2.1;
next	;

1.1.1.1
date	2001.02.21.00.36.30;	author dlr;	state Exp;
branches;
next	;

1.1.2.1
date	2001.02.06.19.38.44;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.6
log
@New database user with read-only access to the Tigris database. Used to control access for the new ad hoc query feature and the XML-RPC handlers.
@
text
@# Creates the database user.
#
# $Id: setup_user.sql.in,v 1.5 2001/04/19 18:18:09 leonardr Exp $

# Add the database users from every cluster host, and from localhost.
grant all privileges on __DATABASE_NAME__.* to __DATABASE_USER__@@127.0.0.1 identified by '__DATABASE_PASSWORD__';
grant all privileges on __DATABASE_NAME__.* to __DATABASE_USER__@@localhost identified by '__DATABASE_PASSWORD__';

grant select on __DATABASE_NAME__.* to __DATABASE_READ_ONLY_USER__@@127.0.0.1 identified by '__DATABASE_READ_ONLY_PASSWORD__';
grant select on __DATABASE_NAME__.* to __DATABASE_READ_ONLY_USER__@@localhost identified by '__DATABASE_READ_ONLY_PASSWORD__';

__CLUSTER_DATABASE_ACCESS_CONFIG__

# Delete unsecured account.
delete from user WHERE Password='' and User='';
@


1.5
log
@Reverting old commit.
@
text
@d3 1
a3 1
# $Id: setup_user.sql.in,v 1.4 2001/04/19 02:41:52 leonardr Exp $
d8 3
@


1.4
log
@Give access to the mysql databse as well.
@
text
@d3 1
a3 1
# $Id: setup_user.sql.in,v 1.3 2001/04/13 18:11:22 leonardr Exp $
a5 2
grant all privileges on mysql.* to __DATABASE_USER__@@127.0.0.1 identified by '__DATABASE_PASSWORD__';
grant all privileges on mysql.* to __DATABASE_USER__@@localhost identified by '__DATABASE_PASSWORD__';
@


1.3
log
@Added variable containing clustering database config info.
@
text
@d3 1
a3 1
# $Id: setup_user.sql.in,v 1.2 2001/02/21 01:56:42 edk Exp $
d6 2
@


1.2
log
@add new files from the branch to the head (there should be only added
files, ie. no modified files).
@
text
@d3 1
a3 1
# $Id: setup_user.sql.in,v 1.1.1.1 2001/02/21 00:36:30 dlr Exp $
d5 1
a5 1
# Add the database user.
d8 2
@


1.1
log
@file setup_user.sql.in was initially added on branch HELM_PEER_PORT_BRANCH.
@
text
@d1 10
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@a0 10
# Creates the database user.
#
# $Id: setup_user.sql.in,v 1.1.2.1 2001/02/06 19:38:44 dlr Exp $

# Add the database user.
grant all privileges on __DATABASE_NAME__.* to __DATABASE_USER__@@127.0.0.1 identified by '__DATABASE_PASSWORD__';
grant all privileges on __DATABASE_NAME__.* to __DATABASE_USER__@@localhost identified by '__DATABASE_PASSWORD__';

# Delete unsecured account.
delete from user WHERE Password='' and User='';
@


1.1.2.1
log
@Creates the database user.
@
text
@a0 10
# Creates the database user.
#
# $Id: setup_user.sql.in,v 1.2 2000/10/07 10:23:42 jrobbins Exp $

# Add the database user.
grant all privileges on __DATABASE_NAME__.* to __DATABASE_USER__@@127.0.0.1 identified by '__DATABASE_PASSWORD__';
grant all privileges on __DATABASE_NAME__.* to __DATABASE_USER__@@localhost identified by '__DATABASE_PASSWORD__';

# Delete unsecured account.
delete from user WHERE Password='' and User='';
@

