how to use mysql existing connection