mysql too many connection

pre: hdconnecthome depot portal sign in
next: the definition of function