server/configs/nsenter_mysql.sh

4 lines
59 B
Bash
Executable File

#!/bin/sh
nsenter -t $(pgrep mysql | head -1) -a mysql $@