dependencies for mysql
thread control logic