MySQL Configuration for BusinessConnect Container Edition and Auditsafe

MySQL Configuration for BusinessConnect Container Edition and Auditsafe

book

Article ID: KB0072491

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect Container Edition all versions

Description

This document contains a sample my.cnf for use with BusinessConnect Container Edition.  It is attached below

A description of the entries is shown below.

# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html

[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

#This entry allows MySQL to be accessed from the network

bind-address = 0.0.0.0

#This entry is required to allow BCCE and Auditsafe to initialize the database correctly.

sql-mode = ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

#This entry allows the setting of the timezone for the database.  By default the database is set to use UTC.  To allow the use of location timezones shown here, you must
#run the following command on the MySQL server as root (this only works for Linux systems):
#
#  mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql

#  The "/usr/share/zoneinfo" should be the directory where the timezone info is stored on your Linux system.
#
default-time-zone='America/Los_Angeles'

#Set mysql max db connection to 2000
max_connections = 2000
#Set mysql max db connection errors to 2000
max_connect_errors = 2000
#Set log_bin_trust_function_creators to 1 (This is special only for AWS RDS)
log_bin_trust_function_creators=1

 

Environment

all BusinessConnect Container Edition and Auditsafe platforms using MySQL 5.x on Linux and Apple Mac systems

Issue/Introduction

Summary of setup steps for MySQL for use with AuditSafe and BusinessConnect Container Edition

Attachments

MySQL Configuration for BusinessConnect Container Edition and Auditsafe get_app