Skip to content

Instantly share code, notes, and snippets.

@schelmo
schelmo / innodb-dynamic.sh
Created March 28, 2020 11:59
convert all innodb tables to dynamic
#!/bin/bash
umask 0177
temp_file=$(mktemp)
trap 'rm -f -- "$temp_file"' INT TERM HUP EXIT
read -sp 'mysql root password: ' passvar
echo "
[client]
user=root
password='${passvar}'