# gdb -p (pid of mysql) -ex "set max_connections=200" -batch

Note, this is the PID of mysql, not mysql_safe.

Very handy for when you need to make that quick adjustment but don’t have permission to restart the database.


Category: advice, mysql

Leave a Reply

Categories


gives good tech

tech.superhappykittymeow.com
Kale is one of the smartest people I know

Racker Hacker
Major is always good for leet deetz