1# ------------------------------------------------------------------------- # 2# MySQLaccess version 2.0p2 # 3# (c) Yves.Carlier@rug.ac.be, 1997 # 4# # 5# *** Configuration file *** # 6# # 7# -Default values read by mysqlaccess during initialisation. # 8# This file is looked for in # 9# 1) the current directory # 10# 2) /etc/ # 11# -Options given on the command-line override the values given in here # 12# -Given options can't be overruled by empty/blanc options!! # 13# ------------------------------------------------------------------------- # 14 15 16# ----------------# 17# Global settings # 18# --------------- # 19 #$Param{'host'} = ''; 20 $Param{'user'} = 'nobody'; 21 $Param{'db'} = 'test'; 22 $Param{'password'} = 'foobar'; 23 $Param{'debug'} = 0; 24 25# --------------------------# 26# Settings for Command-line # 27# ------------------------- # 28if ($CMD) { 29 $Param{'superuser'} = 'root'; 30 $Param{'rhost'} = 'localhost'; 31 $Param{'spassword'} = ''; 32 $Param{'brief'} = 1; 33} 34 35# ---------------------# 36# Settings for CGI-BIN # 37# -------------------- # 38if ($CGI) { 39 $Param{'superuser'} = 'root'; 40 $Param{'rhost'} = 'localhost'; 41 $Param{'spassword'} = ''; 42 $Param{'table'} = 1; 43} 44 451; #to make require happy 46