< All Topics

CS2671 Configuration

CS2671 is the database server using Percona MySQL 8.0 and ProxySQL.

Percona MySQL 8.0

Percona MySQL is configured via the /etc/my.cnf file and can be controlled via the user with sudoer access using the following commands:

CommandUsage
sudo service mysql startStart the MySQL server
sudo service mysql stopStop the MySQL server
sudo service mysql restartRestart the MySQL server, e.g. stop and start
sudo service mysql statusDisplay the status of the MySQL server

ProxySQL

ProxySQL is used to control access to the MySQL server(s) to allow for tasks like upgrades to be completed without downtime. All connections to the MySQL server from Lucee, PHP, etc… should use the ProxySQL connection, port 6033 and not connect directly to the MySQL server.

ProxySQL can be controlled via a user with sudoer access using the following commands:

CommandUsage
sudo service proxysql startStart the ProxySQL server
sudo service proxysql stopStop the ProxySQL server
sudo service proxysql restartRestart the ProxySQL server, e.g. stop and start
sudo service proxysql statusDisplay the status of the ProxySQL server

To configure ProxySQL, the ProxySQL console should be used. To access the ProxySQL console from an SSH terminal, the following command should be entered:

mysql -u proxysqlroot -p -h 127.0.0.1 -P6032 --prompt='Admin> '

The ProxySQL root user password can be found in the OT Server Details Google Sheet.

The ProxySQL documentation can be found here: https://github.com/sysown/proxysql/wiki

Table of Contents