part of connecting mysql