samdb.conf - SAM-QFS mySQL database access file
The file /etc/opt/SUNWsamfs/samdb.conf contains access
parameters to the mySQL database for each SAM-QFS family
Each entry is a single line of the form:
family_set_name is the SAM-QFS family set name.
The family_set_name field must contain at
least one character and must not contain a
colon (:) or a newline (\n).
host is the hostname of the mySQL database
server. It may be either a hostname or an
IP address. If host is NULL or the string
"localhost", a connection to the local host
user is the MySQL login ID.
password is the MySQL password corresponding with the
database_name is the MySQL database name.
port is the TCP/IP port being used by the SAM-QFS
database server. If the value of port is
blank or 0, the default of 3306 is used.
Note, the port field is inoperative for
client_flag is the value of the client flag. See mySQL
function mysql-real-connect() for details.
mount_point is the file system mount point for this
Blank lines are treated as malformed entries and will cause
consumers of the file to fail.
The following is a sample samdb.conf file:
In this example, two family sets are represented. The first
line shows samfs1 which connects to the database on
db.oracle.com via TCP port 7009 with database name samfs1.
The second line shows samfs2 which connects to the database
on localhost with database name samfs2test.