pymysql3. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
pymysql3. ű×
pymysql3. ¼³¸í
¼ø¼öÇÑ ÆÄÀ̽ã MySQL µå¶óÀ̹ö pymysql3Àº ¼ø¼öÇÑ python mysql Ŭ¶óÀ̾ðÆ®ÀÔ´Ï´Ù. ÀÌÁø Ŭ¶óÀ̾ðÆ® / ¼¹ö ÇÁ·ÎÅäÄÝÀ» ÅëÇØ ¼¹ö¿Í Á÷Á¢ À̾߱âÇÏ¿© MySQL µ¥ÀÌÅͺ£À̽º¿¡ DB-API¸¦ Á¦°øÇÕ´Ï´Ù. pymysqlconn = pymysql.connect (host = '127.0.0.1', unix_socket = ' /tmp/mysql.sock ', user ='root ', passwd = none, db ='mysql ') # conn = pymysql.connect (host ='127.0.0.1 ', port = 3306, user = root', passwd = ¾øÀ½, db = 'mysql'cur = conn.cursor () cur.execute ( "È£½ºÆ®, »ç¿ëÀÚ ¼±ÅÃ") # Àμâ cur.description # r = cur.fetChall () # Àμâ r # ¶Ç´Â ... rcur.close () conn.close () ¿ä±¸ »çÇ×À» ÀμâÇÏ·Á¸é ... ¡¤ ÆÄÀ̽ã
pymysql3. °ü·Ã ¼ÒÇÁÆ®¿þ¾î