Configuring a MySQL Database
If you are using MySQL as the Fortify Software Security Center database, you must configure the MySQL options file.
Caution! Fortify Software Security Center requires that all database schema collations be case-sensitive. If your installation is case-insensitive, Fortify Software Security Center cannot work correctly.
Note: For information about the supported versions of MySQL, see the Micro Focus Fortify Software System Requirements document.
Tip: If you use SSL to connect Fortify Software Security Center to MySQL, Fortify recommends that you increase the allowed number of concurrent client
Scanner supported by Security Fortify WebInspect Enterprise that connects to WebInspect Enterprise to receive license permissions, updates or scan data, and which also presents a user interface through which scans may be conducted. WebInspect Enterprise controls permissions for a client and also provides the policies used by clients. A client can be configured to upload scan results to WebInspect Enterprise automatically at the completion of the scan or only when specifically instructed by the user. connections by increasing the value of the max_connections system variable
Building blocks for performance indicators; storage for measurement values that count issues, conditions, and similar categories of numeric data. (in the my.cnf file). This can prevent the Too many connections error from occurring.
To configure the MySQL options file:
- Stop MySQL server.
- Navigate to the MySQL server installation directory.
-
Open the MySQL options file in a text editor.
Tip: To locate the options files and the order in which they are read, run the following command from a terminal:
mysql --help.-
On Windows systems, the default options file is
my.ini.Note: The default location for MySQL 5.7 is
c:\ProgramData\MySQL\MySQLServer 5.7. - On Linux systems, the default options file is
my.cnf.
-
-
In both the
[mysqld]and[mysqldump]sections, setmax_allowed_packetto1G.If the
[mysqldump]section is not there, create it. -
In the
[mysqld]section, configure the settings in the following table. If a listed setting is not included in the file, add it.Setting Value innodb_lock_wait_timeout300(recommended) Expressed in secondsinnodb_buffer_pool_size512M(Fortify recommends10GBor more)Note: If you increase this value without also increasing the
innodb_log_file_sizevalue, uploads of large FPR files can fail.default-storage-engineINNODBinnodb_large_prefix1max-allowed-packet16777216 sql_modeTRADITIONALNote: MySQL 5.7.5 and later versions have a default
sql_modesetting that includes theONLY_FULL_GROUP_BYflag. This option is incompatible with the queries that Fortify Software Security Center issues. - Make sure that MySQL is set up with Barracuda or a newer file format to enable the dynamic row format feature. For more information, see the MySQL documentation for the innodb file format and for dynamic row formats.
- Save the file, and then restart MySQL server.