Python with Mysql
샘플 myslq python 파이선에서 Mysql연동하기. PyMySQL 설치하기 # python3 version pip3 intall pymysql Example 작성해보기. #!/usr/bin/python3 import pymysql # Open database connection db = pymysql.connect("localhost", "testuser", "test123", "TESTDB") # prepare a cursor object using cursor() method cursor = db.cursor() # execute SQL query using execute() method. cursor.execute("SELECT VERSION()") # Fetch...
[Read More]