server/configs/nsenter_mysql.sh

4 lines
78 B
Bash
Raw Normal View History

#!/bin/sh
2024-03-24 11:28:55 +00:00
nsenter -t $(pgrep mariadb | head -1) -m -u -i -n -p -- mariadb $@