Core - Fix mysql setup bug with Option indexes