Tweak MySQL permissions in SQL script