Use threadsafe MySQL.