Skip to content

def test_connection(self): try: self.conn.ping() except Exception: self.conn = pymysql.connect(host=MYSQL_HOST, user=MYSQL_USER, port=MYSQL_PORT, password=MYSQL_PWD, database=MYSQL_DB,local_infile=True) self.cursor = self.conn.cursor()[FEATURE]:  #1275

@houzhuangcode

Description

@houzhuangcode

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

conn.ping mysql so slow

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions