connect for mysqldb