create mysql connection process.