prod chown mysql 999

main
ycz008 2024-04-02 15:36:38 +08:00
parent 6a32af49af
commit 708f6270ee
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ spec:
sysctl -w net.ipv4.tcp_keepalive_intvl=10
sysctl -w net.ipv4.tcp_keepalive_probes=3
mkdir -p /var/lib/mysql/{logs,data}
chown -R mysql.mysql /var/lib/mysql
chown -R 999:999 /var/lib/mysql
securityContext:
privileged: true
containers: