More tinkering with MySQL