<s> from __future__ import print_function <EOL> import pymysql <EOL> conn = pymysql . connect ( host = '<STR_LIT:localhost>' , port = <NUM_LIT> , user = '<STR_LIT:root>' , passwd = '<STR_LIT>' , db = '<STR_LIT>' ) <EOL> cur = conn . cursor ( ) <EOL> cur . execute ( "<STR_LIT>" ) <EOL> print ( cur . description ) <EOL> print ( ) <EOL> for row in cur : <EOL> print ( row ) <EOL> cur . close ( ) <EOL> conn . close ( ) </s>
