Update mysql

MariaDB10 has 3 variables that include read_only. Pull out the correct variable instead of grep'ing for it.