Fix mysql socket issue.