summaryrefslogtreecommitdiff
path: root/scripts/mysqlaccess.conf
blob: faf47da5f6c7b91861a5f6b510447e72903617a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# ------------------------------------------------------------------------- #
# MySQLaccess version 2.0p2                                                 #
# (c) Yves.Carlier@rug.ac.be, 1997                                          #
#                                                                           #
#          *** Configuration file ***                                       #
#                                                                           #
#     -Default values read by mysqlaccess during initialisation.            #
#      This file is looked for in                                           #
#      1) the current directory                                             #
#      2) /etc/                                                             #
#     -Options given on the command-line override the values given in here  #
#     -Given options can't be overruled by empty/blanc options!!            #
# ------------------------------------------------------------------------- #


# ----------------#
# Global settings #
# --------------- #
  #$Param{'host'}     = '';
  $Param{'user'}     = 'nobody';
  $Param{'db'}       = 'test';
  $Param{'password'} = 'foobar';
  $Param{'debug'}    = 0;

# --------------------------#
# Settings for Command-line #
# ------------------------- #
if ($CMD) {
  $Param{'superuser'} = 'root';
  $Param{'rhost'}     = 'localhost';
  $Param{'spassword'} = '';
  $Param{'brief'}     = 1;
}

# ---------------------#
# Settings for CGI-BIN #
# -------------------- #
if ($CGI) {
  $Param{'superuser'}  = 'root';
  $Param{'rhost'}      = 'localhost';
  $Param{'spassword'}  = '';
  $Param{'table'}      = 1;
}

1;  #to make require happy