@@ -0,0 +1,198 @@
+import pymysql%0Atry:%0A    con=pymysql.connect(host='localhost',port=3306,user='root',passwd='root',db='sample')%0A    print(%22Connection Successful :-)%22)%0Aexcept:%0A    print(%22Connection Unsuccessful :-(%22)%0A

Create CheckConnection.py