Just keep in mind that reusable bash code is hard, so it might not be that pretty to use. It's focused on bash versions greater or equal to 4. dbpercona/mysql_shell_secure - Demonstrates the use of ...