Fix ProxySQL startup mode to use --initial
The ProxySQL startup script was incorrectly using the `--reload` flag, which only reloads/merges the configuration without initializing the database from the config file [1]. This change corrects it to use the `--initial` flag, ensuring that the database is always reloaded from the configuration at startup. [1] https://proxysql.com/documentation/configuring-proxysql/#initialstartup Change-Id: I9cc721555a6d19409b6ac24432b6b34a83efc42c
This commit is contained in:
parent
a4fa5bcdc1
commit
7723a6f49c
@ -4,5 +4,5 @@ PROXYSQL_LOG_FILE="/var/log/kolla/proxysql/proxysql.log"
|
||||
|
||||
proxysql \
|
||||
--idle-threads \
|
||||
--reload \
|
||||
--initial \
|
||||
--no-version-check -f -c /etc/proxysql.cnf >> ${PROXYSQL_LOG_FILE} 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user