Thanks to visit codestin.com Credit goes to dev.mysql.com
Syntax:
alive = ccnx.ping()
Returns True or False to indicate whether the connection to the MySQL server is working.
True
False