server/configs/nsenter_mysql.sh

4 lines
78 B
Bash
Executable File

#!/bin/sh
nsenter -t $(pgrep mariadb | head -1) -m -u -i -n -p -- mariadb $@