[BUGFIX] Little fix for getMysqlVariable call. It used the old _getConnection method.

[skip ci]