WIP attempt linking mysql instance; FIXME