text: import pymysql
  
  # pymysql.install_as_MySQLdb()
  #
  # db = pymysql.connect("localhost","root","root","live")
  #
  # cursor = db.cursor()
  #
  # cursor.execute("select version()")
  #
  # data = cursor.fetchone()
  #
  # print("Database version : %s "% data)