...
Table of Contents | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Minimum requirements
...
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Install
Set configurationThe command below sets the configuration you need to run PhixFlow. This creates a phixflow PhixFlow specific configuration file (
Determine To help determine a suitable Most cloud-native services (such as Amazon RDS for MySQL or Azure Database for MySQL) will require an encrypted database connection. You may want to override the default binary log retention settings. By default To configure this, you will need the following settings:
However, there are scenarios in which a secure connection is not required - such as when MySQL and Tomcat are both installed on the same server. For this type of configuration to work, you will need the following settings:
For instructions on how to set the database URL, see here: Install the PhixFlow Webapp. For official MySQL documentation on database connections, see here: https://dev.mysql.com/doc/refman/8.0/en/replicationconnection-options-binary-log.html#sysvar_binlog_expire_logs_seconds.html. You may want to override the default binary log retention settings. By default, this is set to 30 days. Note that the binary logs for a busy database can become large - over 30 days, this could be equivalent to the size of the database itself, or even larger if you are deleting and inserting a large number of records. The simplest option is to reduce the value of If you do not intend to use binary logs for database recovery (i.e. you are relying on a different backup solution), you can turn binary logging off. See here for more details: https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_log_bin but - make sure to pay attention to how the variables relate to each other. Restart MySQL:
HardeningTo harden the installation, run:
Respond to the questions in the following way:
Switching to unix_socket authentication means there is no password for root, instead anybody with sudo access can log in using If the first option does not come up, respond to |
...
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
InstallMySQL includes many configuration options for installing on Windows. The guide below is a recommended installation for mostly MySQL installations on Windows, espcially for development and local testing. If you are installing MySQL on Windows for long term use in a corporate envrionment, make sure you have met any installation standards that apply to database installations in general, and MySQL installations in particular. Go to https://dev.mysql.com/downloads/windows/installer/8.0.html and select either download - At the next page you are invited to create an account but you do not have to - note the link No thanks, just start my download at the bottom of the page Allow the download to complete and start the installation package
Add mysql to pathIt is useful to add the
Now you can refer to the program Add PhixFlow settingsApply PhixFlow settings in the file Example configurationAdd the following settings in the
Update the following settings, which should already be in the file:
Note that the following settings are not mandatory for PhixFlow but are recommended; however, these are already set by default to PhixFlow’s recommended settings (i.e. you do not need to do anything to apply these)
Once you have updated this file, restart MySQL via services to pick up these settings. |
...